首页 > 其他 > 详细

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

时间:2015-11-10 15:55:45      阅读:473      评论:0      收藏:0      [点我收藏+]

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

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

 

Here are some solutions that might be helpful:

For C# EXE project: 

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

For C++ DLL project:

  • In ‘Properties -> C/C++ -> Code Generation: Set Runtime Lib to Multi Threaded Debug
  • In ‘Properties -> Linker -> Debugging‘: Set Generate Debug Info to Yes

 

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

原文:http://www.cnblogs.com/cindy-hu-23/p/4952861.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!