Hello,
I have a problem debugging web application. I've already searched google and found nothing that could solve it. The error is the famous "No symbols have been loaded for this document". Apparently this is a comum error and has several supposed solutions. I know there are ot her topics about it but none gave me the answer.
The error happens only when I try to debug attaching the debugger to the process (aspnet_wp). I publish the project, access it in my browser, and then attach the debugger. When I debug it starting it from VS2005, it works normal. But I need to attach to the browser process for several reasons.
Other detail: when I attach it and open the Modules window, the DLL corresponding to the aspx I'm trying to debug (and I know which one is because I used fixed naming) has the observation: "Symbols loaded". So how come the breakpoint in the page says there are no symbols loaded? Is there something missing to connect the dll to the page?
Some I've tried were:
- Check if web.config has debug = true
- Check if the web application and the DLLs are in debug mode, not in r elease
- Check if the timestamp of the PDB files is equal to the correspondent DLL
- Delete files from temporary ASP NET folder
- Delete temporary files from Internet explorer
- In Tools --> Options --> Debugging --> General, check if Enable Just my code is disabled
- Create a new web site and copy files into it
- Do a Batch Build
I did all those things, and the problem remains. Is there some kind of button "Get debug on aspx working" or should I accept I'll never do it?
I'm open to suggestions.