Re: no source code at current location

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

From: Luis Ortiz (ijb_green_at_hotmail.com)
Date: 02/20/04


Date: Fri, 20 Feb 2004 09:41:32 -0600


>MYBE YOU SHOULD ASSING IN TE LINKIN PROPERTIES THA GENERATES BROWSINFO OR
SYMBOLIC DEPURATION

"Zaijin Guan" <anonymous@discussions.microsoft.com> escribió en el mensaje
news:8541F8B3-B229-47C2-991B-BCBF226C6FD8@microsoft.com...
> Hi,
>
> I'm having a problem with Visual Studio .Net. We are building a
multi-threaded Visual C++ application. The solution consists of three
projects, two built as static libraries and one as executable which links in
the two libraries. All three projects are built using Debug configuration.
However, when I set break points at certain location in my source file, the
debugger pops up a dialog box saying there is no source code at that
location and shows me the assembly code instead. Basically I'm losing the
source level debugging capability at that point. I'm pretty sure there are
meaningful code at that location and I've tried rebuilt the entire solution
multiple times to no avail. Sometimes, the problem manifests itself in other
ways. For example, after a breakpoint is successfully hit, the "Local" watch
window shows "<undefined value>" for variables that are just initialized or
assigned. These problems are sporatic in the sense that sometimes it
recovers by itself. It seems that the debugging information is corrupted
somehow.
>
> It's a very annoying problem. I've been struggling with this problem for a
while now without any luck. Your reponse is greatly appreciated.
>
> Thanks,
> Zaijin Guan



Relevant Pages

  • Re: debugger exception
    ... I'm using developer studio 6. ... visual studio 2005 c++/cli, but I don't always get the same results ... or the lib is not built with debugging info. ...
    (microsoft.public.vc.mfc)
  • Re: unhandled exception in the designer
    ... Microsoft Visual Studio ... not built with debug information. ...
    (microsoft.public.dotnet.framework.windowsforms.designtime)
  • RE: debugger doesnt stop at breakpoint while debugging SQLCLR functio
    ... It seems remote debugging component was not installed during Visual Studio ... I click Step into Function and I am able to debug the function step by step. ... Stored Procedure is in separate assembly which is created in SQL Server ...
    (microsoft.public.vsnet.debugging)
  • Trouble building pywin32 with Visual Studio 2005
    ... I'm embedding Python in an MFC application. ... I've manually built ... Python .lib and .dll files using Visual Studio 2005 from the solution/ ... When I use pre-built pywin32 packages, ...
    (comp.lang.python)
  • Unable to start debugging on the web server
    ... Are you running a version of Windows that allows the Visual Studio ... launch the application without debugging and manually attach to it. ... Debugging a Web server requires NTLM ... Internet, and NTLM authentication is not done over the Internet. ...
    (microsoft.public.dotnet.framework.aspnet.security)