How to debug an ActiveX plugin under a multi-process browser

Source: Internet
Author: User
Tags hosting

Overview:

Now the mainstream browser is a multi-process browser, which has caused the debugging of ActiveX Plug-ins a great inconvenience!

Recently, the use of VS2010 to develop ActiveX Plug-ins, due to the real browser environment to debug,

Find it troublesome to find a real hosting process when attaching to a process!

When you think of a tool "process Explorer", it's easy to find a real hosting process.

How to use:

Open Process Explorer and click the Find Handle or DLL button to open the Process Explorer Search dialog box.

In the handle or DLL substring input box, type the name of the ActiveX plug-in file you want to find, and click the Search button.

If your plugin is already loaded by the browser, you will see in the list what processes are using the plugin, as shown in the following figure:

Attach to process:

To find the real hosting process, it's easy to attach.

Back to VS2010, debug is attached to the process, select the corresponding PID process, the following figure:

OK, the breakpoint becomes available.

Process Explorer Download:

CSDN Resources Download: http://download.csdn.net/detail/testcs_dn/7027009

The download needs points, but the points will be returned after the comment.

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.