all groups > visual studio .net debugging > june 2007 >
You're in the

visual studio .net debugging

group:

debugger out of sync with source code, not the cr/lf problem


debugger out of sync with source code, not the cr/lf problem Brad Langhorst
6/26/2007 9:27:00 AM
visual studio .net debugging:
I done some googling and ran across this link which explains what
seems to happen to me:

http://support.microsoft.com/kb/328784/en-us

I'm using vb.net not C++ though, and I just checked my source
files, .resx and .aspx for mixed line endings (they're all cr/lf).


I've rebuild the pdb files a few times and even rebooted but i still
see all my breakpoints move to strange places as soon as the debugger
attaches to the process.

anybody know what the problem might be?

brad
Re: debugger out of sync with source code, not the cr/lf problem Oleg Starodumov
6/26/2007 1:22:40 PM

[quoted text, click to view]

Is it debug or release build?
Are the problematic modules loaded from the correct location? (use Modules window
to check the path)

--
Oleg
[VC++ MVP http://www.debuginfo.com/]

Re: debugger out of sync with source code, not the cr/lf problem Brad Langhorst
6/26/2007 8:19:48 PM
On Jun 26, 4:22 pm, "Oleg Starodumov" <com-dot-debuginfo-at-oleg>
[quoted text, click to view]

It's a debug build (both projects in the solution)

I'm not able to find a window called "modules" - i did not mention
that this is in vs2003.
However, when i do a quick symbol find from the class view, i find
that the modules are where i expect them (eg: coopmetricsWeb.Home)
is in the same file that the website is pointing to)


I've moved this code to another machine and it works fine there... so
it must be some kind of local misconfiguration.

thanks for taking an interest!

brad

Re: debugger out of sync with source code, not the cr/lf problem Allen Maki
7/12/2007 6:09:05 PM
Hi Brad,

I have the same problem. If you solve it let me know and I will do the
same.


[quoted text, click to view]

AddThis Social Bookmark Button