"Joachim" <Jo*****@discussions.microsoft.comwrote in message
news:07**********************************@microsof t.com...
>I have been trying to set breakpoints inside a C++ DLL and running a C#
application which calls the exported functions from the C++ DLL. However,
when I run my solution in debug mode it always says
"The breakpoint will not currently be hit. No symbols have been loaded for
this document."
where I haved placed the breakpoint.
In the properties of my C++ app (which is not managed by the way)
Configuration Properties -Debugging -Command I have set my C#
application. What more do I need to do?
There are a few things that can bite you:
1) Make sure you have one and only one copy of the DLL that you want to
debug where the IDE is likely to find it
2) If you move it from the development directory, make sure you move the PDB
file as well
3) Make sure you have optimizations switched off
4) Make sure you haven't turned off native debugging support as might be the
case by default if you are debugging a C# project
Regards,
Will