Unreachable breakpoint at execut(able/ing) code

Posted by shadeMe on Stack Overflow See other posts from Stack Overflow or by shadeMe
Published on 2010-03-22T19:55:31Z Indexed on 2010/03/22 20:21 UTC
Read the original article Hit count: 319

Filed under:
|
|
|
|

I've got two DLLs, one in written in native C++ and the other in C++/CLI. The former is injected into a process, and at a later point in time, loads the latter. While debugging, I noticed that the native DLL's breakpoints were functioning correctly while the other's weren't, even though its code was being executed.

The breakpoints showed this message: This breakpoint will not be hit. No executable code associated with this line. Possible causes include: preprocessor directives or compiler/linker optimizations.

The modules window tells me that the plugin's symbols are loaded. I'm running with its DEBUG build. Any ideas on why this is so and perhaps a fix ?

© Stack Overflow or respective owner

Related posts about c++

Related posts about debugging