调试Internet Explorere Addin [英] Debugging Internet Explorere Addin

查看:101
本文介绍了调试Internet Explorere Addin的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用ATL COM开发了一个IE加载项。问题是我无法调试它。尽管将可执行文件名设置为

I developed an IE Add-on using ATL COM. The problem is I am unable to debug it. Despite setting executable file name as

 

 

C:\Program Files\Internet Explorer\iexplore.exe

按下F5 Internet Explorer时打开,但它没有在我设置断点的功能中的任何位置。有人可以帮我解决这个问题吗?我最近从7 -8升级了Internet Explorer。它有什么不同吗?它甚至不显示消息"调试信息不​​可用"

While pressing F5 Internet Explorer opens, but it doesn't go anywhere in the function where I've set the break points. Can someone help me in resolving this?? I recently upgraded internet explorer from 7 -8. Does it makes any difference? It doesn't even display the message "Debug Information Not available"

 

在此先感谢

推荐答案

http://blogs.msdn.com/jesse_collins/archive/2009/06/03/how-to-debug-lcie-with-windbg。 aspx  (windbg)

http://blogs.msdn.com/jesse_collins/archive/2009/06/03/how-to-debug-lcie-with-windbg.aspx (windbg)

松散耦合的IE(LCIE)会在整个地方产生新的流程。  您需要确保连接到正确的连接。  您可以使用图像文件执行选项附加JIT东西,或者您可以使用工具 - >附加到进程。

Loosely Coupled IE (LCIE) spawns new processes all over the place.  You need to make sure you connect to the right one.  You can use Image File Execution Options to attach the JIT thingy, or you can use Tools -> Attach to process.

或者你可以设置HKEY_CURRENT_USER \ Software &\\Microsoft \Internet Explorer \ Main,TabProcGrowth = 0(但只能在你的调试机器上进行调试;不要在用户机器上设置它。)

Or you can set HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main, TabProcGrowth = 0 (but only on your debug machine for debugging; don't set this on your users machines).


这篇关于调试Internet Explorere Addin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆