且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Visual Studio中C ++的断点

更新时间:2023-02-27 13:16:01

最新的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.