Re: No symbols have been loaded for this document
- From: "Oleg Starodumov" <com-dot-debuginfo-at-oleg>
- Date: Mon, 5 Mar 2007 11:10:02 +0200
I have a solution with three projects, a C# Windows application using
a managed C++ dll (which is a wrapper for the C++ dll) and a native C+
+ dll. When I try to debug I can only set breakpoints to the C#
application and the managed C++ wrapper dll, but not in the native C++
dll project. Any breakpoints there lead to: "The breakpoint will not
currently be hit No symbols have been loaded for this document.". All
three projects generating a .pdb file which has the same date and time
as the dlls generated so its generated anytime I build the solution.
In the output window (loading symbols) and the Debug -> Windows ->
Modules window only the C# application and the managed C++ dll occur.
Calling methods from the native C++ dll work properly so the dll is
working and used properly. Why are the symbols for this dll are not
loaded and how can I get the breakpoints working?
You need to enable mixed mode debugging.
If you are debugging from the C# app's project, check "Enable unmanaged debugging"
in the project settings. If you are debugging from a C++ project, find "Debugger Type"
setting (in Project properties | Configuration Properties | Debugging) and set it
to Mixed.
--
Oleg
[VC++ MVP http://www.debuginfo.com/]
.
- Follow-Ups:
- Re: No symbols have been loaded for this document
- From: Gunnar_Frenzel
- Re: No symbols have been loaded for this document
- References:
- No symbols have been loaded for this document
- From: Gunnar_Frenzel
- No symbols have been loaded for this document
- Prev by Date: Re: MiniDumpWriteDump fails when using dump type MiniDumpWithIndirectlyReferencedMemory
- Next by Date: Re: Debuging DLL behind executable
- Previous by thread: No symbols have been loaded for this document
- Next by thread: Re: No symbols have been loaded for this document
- Index(es):
Relevant Pages
|