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.