Now You See It Now You Don't

  • Thread starter Thread starter OldButStillLearning
  • Start date Start date
O

OldButStillLearning

I build a new web site and I am able to debug just fine. Shut down my
machine and bring up the same web site, does not go into debug mode. I have
look at my web.config file and it has "<compilation debug="true">".

Why won't it debug?
 
Local web (meaning file based) or in IIS? If local, and you are trying to
hit a "remembered" URL, it will change ports every time you restart Visual
Studio. This is the nature of the built in web server. Of course, this
depends on how you are connecting to the debugger.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box!
|
*************************************************
 
Yes, it is File Based....How I connected to the debugger? It is on my
workstation, so it is not remote or anything like that. If I shut down my
machine, how would my URL be remembered? And why would that be a problem?

Not having this issue on other sites I have built, but this one is very
large...

Thanks for taking the time to respond!!!
 
when it's file based your app is hosted not in IIS, but in ASP.net
developement service, which provide u new port when app starts.

so, you need to start your site first, get the url with port relating to
your app instance and start debuging
 
I am using VS 2005, I should be able to place my stops, start the application
and have the application stop where a stop is placed.....and it is not doing
this....
 
Back
Top