Cannot debug ASP.Net

G

Guest

I start in debug mode and set a breakpoint on the page load event for the
startup page. The browser opens and the page renders. The breakpoint turns
to a "?" and says the breakpiont cannot be reached. Here is my output and I
notice the aspnet_wp.exe is exiting. No idea how to fix this. Yes I am in
debig and not release mode.

Auto-attach to process '[3052] aspnet_wp.exe' on machine 'DELL' succeeded.
'DefaultDomain': Loaded
'c:\winnt\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols loaded.
'DefaultDomain': Loaded
'c:\winnt\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll', No symbols loaded.
'DefaultDomain': Loaded
'c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll', No
symbols loaded.
'DefaultDomain': Loaded
'c:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll', No symbols loaded.
'/LM/w3svc/1/root-1-127598359525625000': Loaded
'c:\winnt\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols loaded.
'/LM/w3svc/1/root-1-127598359525625000': Loaded
'c:\winnt\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll', No symbols loaded.
'/LM/w3svc/1/root-1-127598359525625000': Loaded
'c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll', No
symbols loaded.
'/LM/w3svc/1/root-1-127598359525625000': Loaded
'c:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll', No symbols loaded.
The thread '<No Name>' (0xccc) has exited with code 0 (0x0).
The program '[3052] aspnet_wp.exe: DefaultDomain' has exited with code 0
(0x0).
The program '[3052] aspnet_wp.exe: /LM/w3svc/1/root-1-127598359525625000'
has exited with code 0 (0x0).
The thread has exited with code 0 (0x0).
The program '[3092] IEXPLORE.EXE: Script program' has exited with code 0
(0x0).
 
C

Cor Ligthert

Roblenderman,

Did you already set the breakpoint on an earlier point. That is what I do in
those cases. Sometimes with ASPNET the program breaks (not breakpoint)
earlier and throws than an error.

Therefore set it by instance on the first instruction to try.

Cor
 
G

Guest

I set the break point on the startup pages load event. Then I start the
debug and the code in that event runs but it never breaks. Right after the
IE window opens showing the page the breakpoint get the ? and says it cannot
be hit. No ideas here.

Rob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top