Use IE8/9 to debug the OCX control

Source: Internet
Author: User

Debugging OCX controls in IE8

By default, IE8 works in multiple processes, so debugging cannot be performed by default:

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.

By modifying the Registry to work with a single process, you can use the debugging function as follows:

---------------------------------------

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER/software/Microsoft/Internet Explorer/main]

"Tabprocgrowth" = DWORD: 00000000

--------------------------------------------------------

Save the preceding content as IE. Reg, double-click ie. Reg, and import it to the Registry to debug it.

The above information reference: http://firefly.hpp.blog.163.com/blog/static/172080655201102101350887/

 

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.