DDD888 发表于 8-9-2014 11:39:07

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:loveliness:

mason00 发表于 8-9-2014 11:54:56

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:37

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:30

set start option to use IIS

DDD888 发表于 8-9-2014 13:49:53

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:28

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:00

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:27

纯好奇,VS 什么版本?

DDD888 发表于 9-9-2014 13:35:05

melmonash 发表于 8-9-2014 21:53
纯好奇,VS 什么版本?

visual studio 2013

mason00 发表于 9-9-2014 14:01:19

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:25

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
页: [1]
查看完整版本: asp.net visual studio debugging