"no symbols have been loaded for this document"

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
 
O

Oleg Starodumov

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top