Environment: vs2005 + IE8
IE8 calls the OCX compiled by vs2005, And the breakpoint cannot be accessed. After searching for a long time, you still cannot access
Cause:
By default, multiple processes work in IE8 and ie9, so debugging cannot be performed by default:
Solution:
Disable the IE protection mode to prevent ie from opening the web page in multi-process mode. Otherwise, the IE process started by the debugger is different from the IE process on the web page and cannot be interrupted.
When changing the Registry to multi-process operations, the IE process started and the IE process loaded with OCX to be debugged are not one process, so debugging cannot be performed.
1. Click Start> Run Command: Regedit.
2. Locate hkey_localmachine-> Software-> Microsoft-> Internet Explorer-> main
3. Right-click the area on the right to create a DWORD Value named tabprocgrowth. Set the value to 0.
Address: http://blog.csdn.net/zuiyuezhou888/article/details/7404474