In IE8, OCX debugging fails)

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.