Re: Problem with Debug.Assert

John Brett <[email protected]> Thu, 29 May 2008 07:47:30 +0100
Newsgroups gmane.comp.windows.devel.dotnet.clr
Message-ID <[email protected]>
> When I run the following code in the IDE, under the Debug configuration,
> when I choose Retry on the dialogue presented by the assert, I get a message
> that no source code is available for the current location.  Can anyone
> enlighten me as to why VS2008 cannot see the obviously available code at
> that location?

Have you enabled address-level debugging but not "Show disassembly if
source not available"?   That's in Tools/Options/Debugging/General in
VS2005

I've also seen this when the available source doesn't match the
executable, and I've just plain had the IDE throw a strop and fail to
load the symbols at all. A reboot or rebuild has always fixed that for
me in the past.

John

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com