Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / May 2007

Tip: Looking for answers? Try searching our database.

"no symbols have been loaded for this document"

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Scott McFadden - 18 May 2007 21:27 GMT
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
Oleg Starodumov - 21 May 2007 15:37 GMT
> 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?

Signature

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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.