Re: Broken breakpoints and symbols not loading

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Shawn South (ssouth_at_bcc.ctc.edu)
Date: 08/16/04


Date: Mon, 16 Aug 2004 10:56:55 -0700

Nobody's got any advice?

Well, I've been poking at it some more and I'm pretty convinced that the
problem is that somehow I've lost the symbols for the entire .NET Framework.

I finally found the Modules window: Debug -> Windows -> Modules. But
nothing shows up there unless the application stalls for some reason.
(I'm lucky, I guess, because I have another ([un]related?) problem where
running the app from F5 loads a browser window which tells me that the
server cannot be found. Reload brings up the page every time, as does
going to the url outside the debugger.) Normally, it appears that
stopping on a breakpoint would accomplish this, but since the problem is
that my debugger won't stop on breakpoints...

Anyway, when I try to manually reload the symbols, I can't find
mscorlib.pdb (or .dbg), or any of the other symbol files, anywhere on my
system.

So before I bite the bullet and reinstall VS.NET 2003, can somebody at
least answer these questions:

1) What is the symbol filename for mscorlib.dll? System.web.dll? Etc.

2) Is there some way to reinstall the symbol libraries other than
reinstalling all of the .NET framework and VS.NET?

- Shawn South
Web Development Support Specialist
Bellevue Community College, WA

Shawn South wrote:
> I've been developing on this box with VS.NET 2003 for the last six
> months with no problems of this nature. Two days ago, while attempting
> to debug a web application utilizing the UI Process Application Block
> (our first exposure to this App Block) I discovered that my breakpoints
> no longer function.
>
> I have scoured the web and the newsgroups. Many people are experiencing
> this behavior, but none of the solutions apply/work for me. Here are
> the pertinent points:
>
> System:
> WinXP Pro, SP1 (WindowsUpdate reports no critical updates pending)
> VS.NET 2003 Enterprise Architect
>
> Behavior:
> Load solution/project. Press F5.
>
> Breakpoints have a question mark inside the circle.
>
> Debug output as follows (servername removed for security):
>
> Auto-attach to process '[980] aspnet_wp.exe' on machine '<servername>'
> succeeded.
> 'DefaultDomain': Loaded
> 'c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols
> loaded.
> 'DefaultDomain': Loaded
> 'c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll',
> No symbols loaded.
> 'DefaultDomain': Loaded
> 'c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll',
> No symbols loaded.
> 'DefaultDomain': Loaded
> 'c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll',
> No symbols loaded.
> '/LM/w3svc/1/root/SamUI-1-127368536977826458': Loaded
> 'c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols
> loaded.
> '/LM/w3svc/1/root/SamUI-1-127368536977826458': Loaded
> 'c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll',
> No symbols loaded.
> '/LM/w3svc/1/root/SamUI-1-127368536977826458': Loaded
> 'c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll',
> No symbols loaded.
> '/LM/w3svc/1/root/SamUI-1-127368536977826458': Loaded
> 'c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll',
> No symbols loaded.
>
> Yes, I note that no symbols have loaded for anything. This is
> definately part of the problem. The issue is that I can't seem to make
> the symbols load.
>
> I have tried backing out and starting over with a simple project
> (attached) in order to troubleshoot the issue. I have also tried various
> projects previously developed. Attempts to debug *any* (web)
> application have the same result.
>
> I have tried/done the following:
>
> 1) Verified that I am looking at the source for the same file I am
> debugging (by adding new text to the page).
>
> 2) Verified that I am compiling and running in the Debug configuration
> mode.
>
> 3) Verfied that Project -> Properties -> Enable ASP.NET Debugging is set
> to "true". (Debug mode is "Project").
>
> 4) Verified that <compiliation debug="true" /> is set in Web.config.
>
> 5) Verified the .pdb is in the same directory as the codebehind .dll.
>
> 6) Deleted the .dll and .pdb. Recompiled.
>
> 7) Cleared both
> Documents and Settings\...\VSWebCache
> WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files
>
> 8) Rebooted the computer
>
> There are two additional suggestions mentioned that I have been unable
> to follow:
>
> 1) Manually attach the debugger to the aspnet_ws process. Prior to
> hitting F5, there is no aspnet_ws process running. After hitting F5 (or
> even F10 - to try to just go to the first step), a couple of aspnet_ws
> processes start, but they both end fairly quickly. VS.NET is still in
> debug mode, with the app "running".
>
> 2) Check the symbol loading (or manually load them) using the "Modules"
> window. I can find no such window in VS.NET.
>
> So... who's got ideas?
>
> - Shawn South
> Web Development Support Specialist
> Bellevue Community College, WA



Relevant Pages

  • Re: Broken breakpoints and symbols not loading
    ... that my debugger won't stop on breakpoints... ... > 'DefaultDomain': Loaded ... > Web Development Support Specialist ...
    (microsoft.public.vsnet.debugging)
  • Re: Automatically re-enable breakpoints
    ... Though the debugger could do something more smarter ... than simply disabling the breakpoints. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.vsnet.debugging)
  • Re: Remote debug does not stop on breakpoint.
    ... Remote debugging of ASPNET application without stopping on breakpoints. ... > Seems like a few people are having debug problems, ... > I set my breakpoints and I hit F5 to run the debugger. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: 16-bit + basic programming
    ... One thing to check is how fast the debugger gets in and out of a single ... Go until one of N breakpoints is hit. ... View the code as disassembled instructions ... Looping constructs more complex than just the conditional breakpoints sort ...
    (sci.electronics.design)
  • Re: Slow start with debugger
    ... i also tried for reinstall and everything ... but only when I start it using F5 (to use the debugger). ... 'DefaultDomain': Loaded ... for the framework, the sp for vs) but to no avail. ...
    (microsoft.public.vsnet.debugging)