"no symbols have been loaded for this document"

  • Thread starter Thread starter Scott McFadden
  • Start date Start date
S

Scott McFadden

We have a C# client (VS2005 SP1) and a C++ / CLI DLL (VS2005 SP1). The
client and the dll are both in the same solution. "Enable unmanaged code
debugging" option is enabled in client project. We set break points in our
CPP code and notice yellow warnings with "No symbols have been loaded for
this document". Accordingly, our breakpoints in the cpp DLL are never hit.
The odd thing is that when you look in the VStudio output windows. You
clearly see a line that stating that our C++ dll with symbols was loaded.
Why can't we hit break points in native code??? Note, we are running
VStudio 2005 SP1 on Win2003 SP2.

thanks

ScottM
 
We have a C# client (VS2005 SP1) and a C++ / CLI DLL (VS2005 SP1). The
client and the dll are both in the same solution. "Enable unmanaged code debugging" option is enabled in client
project. We set break points in our CPP code and notice yellow warnings with "No symbols have been loaded for this
document". Accordingly, our breakpoints in the cpp DLL are never hit. The odd thing is that when you look in the
VStudio output windows. You clearly see a line that stating that our C++ dll with symbols was loaded. Why can't we
hit break points in native code??? Note, we are running VStudio 2005 SP1 on Win2003 SP2.

If you open Processes window (Debug | Windows | Processes) while debugging,
what will be said in "Debugging" column for the given process?
 
Back
Top