Visual Studio中C ++的断点 [英] Breakpoints for C++ in Visual Studio
问题描述
当我启动调试器时,我收到警告
IEXPLORER.EXE'无法找到或不匹配。没有符号加载你要开始调试吗?
我点击是继续,但是我设置的断点有一个警告说: p>
断点不会被当前命中。没有为此文档加载符号
当我调试项目时,如何获取加载的符号?我需要改变它的构建方式吗?
最新的Internet Explorer具有不同的过程模型,它固有地禁用了ActiveX控件的调试(我想你试图调试)。有一个注册表设置可能会帮助你。
HKLM\Software\Microsoft\Internet Explorer \Main> TabProcGrowth:DWORD
将此值设置为0,您应该可以调试控件。
Breakpoints set in Visual Studio for a C++ project aren't hit when I run the debugger.
When I launch the debugger I get the warning
Debugging information for 'IEXPLORER.EXE' cannot be found or does not match. No symbols loaded. Do you want to start debugging?
I hit yes to continue, but then the breakpoints I set have a warning saying that:
The breakpoint will not be currently hit. No symbols have been loaded for this document
How do I get the symbols loaded when I debug the project? Do I need to change the way it is built?
Latest Internet Explorer has different process model that inherently disables debugging of ActiveX controls (which I presume you're trying to debug). There is a registry setting however that may help you.
HKLM\Software\Microsoft\Internet Explorer\Main > TabProcGrowth:DWORD
Set this value to 0 and you should be able to debug controls.
这篇关于Visual Studio中C ++的断点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!