FreeOZ论坛

标题: asp.net visual studio debugging [打印本页]

作者: DDD888    时间: 8-9-2014 11:39
标题: asp.net visual studio debugging
Is that attach to a process if start debugging asp.net mvc application under visual studio using iis? Will debug restart asp.net mvc application in IIS?

TIA
作者: mason00    时间: 8-9-2014 11:54
yes, try "debug" menu, there's "Attach process...", select your Asp.net w3p.exe (depends on which version of IIS you are running)
作者: DDD888    时间: 8-9-2014 12:41
mason00 发表于 8-9-2014 11:54
yes, try "debug" menu, there's "Attach process...", select your Asp.net w3p.exe (depends on which ve ...

I mean Debug\Start Debugging F5 does that start asp.net mvc application or just simply attach process in an already running iis\asp.net instance?
作者: mason00    时间: 8-9-2014 13:11
set start option to use IIS
作者: DDD888    时间: 8-9-2014 13:49
mason00 发表于 8-9-2014 13:11
set start option to use IIS

I don't know what you mean.

Here is a screen capture for my visual studio settings for the project which I marked with a black pen with a value.
作者: mason00    时间: 8-9-2014 13:54
DDD888 发表于 8-9-2014 13:49
I don't know what you mean.

Here is a screen capture for my visual studio settings for the proj ...

Deploy your application to local IIS
Use "Start URL" : "localhost\<yourapplication>"
F5
作者: DDD888    时间: 8-9-2014 18:31
mason00 发表于 8-9-2014 13:54
Deploy your application to local IIS
Use "Start URL" : "localhost\"
F5

Tried, same thing, no difference to my settings
作者: melmonash    时间: 8-9-2014 21:53
纯好奇,VS 什么版本?
作者: DDD888    时间: 9-9-2014 13:35
melmonash 发表于 8-9-2014 21:53
纯好奇,VS 什么版本?

visual studio 2013
作者: mason00    时间: 9-9-2014 14:01
Did you set something like debug = true in your web.cinfig? Could you access your local IIS in browser?
作者: DDD888    时间: 9-9-2014 14:12
mason00 发表于 9-9-2014 14:01
Did you set something like debug = true in your web.cinfig? Could you access your local IIS in brows ...

    Yes




欢迎光临 FreeOZ论坛 (https://www.freeoz.org/forum/) Powered by Discuz! X3.2