The breakpoint will not currently be hit. No symbols have been loaded for this document."

C# exe calls function from a native C++ DLL, and breakpoints set inside C++ source code cannot be hit, VS2012 IDE says that ide

The breakpoint will not currently be hit. No symbols have been loaded for this document.

 

Here are some solutions that might be helpful:this

For C# EXE project: spa

  • In 'Properties -> Debug-> Enable Debuggers': Check "Enable native code debugging"

For C++ DLL project:debug

  • In 'Properties -> C/C++ -> Code Generation: Set Runtime Lib to Multi Threaded Debug
  • In 'Properties -> Linker -> Debugging': Set Generate Debug Info to Yes
相關文章
相關標籤/搜索