Posts Tagged debugging
Debugging mixed code: solving “not loaded symbols”
Today, while debugging mixed code (calling c# code from unmanaged c++ via COM). I noticed some strange behavior: the application was running, but I was unable to hit any breakpoint inside the c# code. Usually this can be result of “dll hell ” or something like this, maybe pdb files from different version. However, I double checked all my files and I was pretty sure they are ok. Finally, I discovered the source of my troubles: the startup project (c++ in my case) has to be configured correctly to support debugging of both managed and unmanaged code. I did it this way: going to startup project properties >> debugging, choosing debugging mode as “mixed”. Hope that was helpful
Add comment October 12, 2008