IE8 javascript 调试器现已损坏

发布于 2024-08-20 00:15:21 字数 1380 浏览 4 评论 0原文

我使用的是 Windows 7,使用 IE8 和 Visual Studio 2005。几个月来我一直在享受 IE8 中内置的 javascript 调试器。大约 2 周前,我安装了 IE 8 的一些安全更新(可能是 KB978207),突然 javascript 调试器坏了。

如果我从 IE 8 收到发生错误的警告,并询问我是否要使用内置调试器进行调试,如果我点击“是”,我会在左上角看到一个灰色的弹出窗口(我以前从未见过),上面写着“JScript 调试器。JScript 运行时错误中断 - 对象不支持此属性或方法”。然后什么也没有发生。 IE 冻结,然后我收到一个 Windows 弹出窗口,提示 IE 8 不再响应并询问我是否要结束此进程。如果我尝试结束该过程,则什么也不会发生,并且我继续收到灰色弹出窗口。我通常必须从 VS 2005 中终止调试进程,但冻结的 IE8 仍然存在。直到后来操作系统最终清理了该进程,它才会消失...

编辑(新信息):

我尝试删除最新的安全更新和同样出现的 silverlight 更新时间,但 Windows 自动重新安装了它们......

然后我尝试删除 IE 8,然后将其添加回我的系统以重置与 IE8 相关的任何内容。这没有任何效果。

重新安装 IE8 后,我确实注意到,当我第一次尝试从常规 IE 8 窗口中按 F12 打开开发人员工具窗口时,我从未看到任何内容,但我可以在任务管理器列表中看到开发人员工具标题。我必须右键单击该任务并将窗口最大化,这样我才能真正看到开发人员工具窗口。显然这是这里提到的一个错误: http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/79b8ee54-c5f6-4467-ba6d-27491c95cd13

我已经意识到,如果 iexplorer.windows 窗口将最大化。 exe进程不是从VS2005启动的调试进程。

我在原来的帖子中提到的灰色弹出窗口来自开发人员工具窗口 iexplorer.exe 进程。

如果我从 VS2005 启动我的应用程序,然后按 F12,我会看到开发人员工具窗口已打开(我可以看到该窗口在任务栏的 IE 图标下打开),但未显示。如果我尝试从任务管理器最大化它,这没有效果。

所以基本上,当开发人员工具窗口尝试在我从 VS2005 启动的调试 iexplorer.exe 进程下打开时,它会冻结。然后操作系统询问我是否要终止该进程,因为它没有响应,但它无法终止它。在稍后的某个时刻,僵尸 iexplorer.exe 进程被成功杀死(我推测是由操作系统杀死的)。

I am on Windows 7, using IE8 and Visual Studio 2005. I have been enjoying the built in javascript debugger in IE8 for several months. About 2 weeks ago, I installed some security update for IE 8 (possibly KB978207) and all of a sudden the javascript debugger is now broken.

If I get a warning from IE 8 that an error occurred and asking if I want to debug using the built in debugger, if I hit yes, I get a grey popup in the top left corner (which I've never seen before) saying "JScript Debugger. Breaking on JScript runtime error - Object doesn't support this property or method". Then nothing happens. IE freezes up and then I get a Windows popup saying that IE 8 is no longer responding and asking if I want to end this process. If I try to end the process, nothing happens and I continue to get the grey popup. I usually have to kill debugging process from VS 2005, but the frozen IE8 still is present. It's not until later when the OS, finally cleans up the process that it will go away...

Edit (new info):

I tried removing the lastest security update and a silverlight update that came around the same time, but Windows automatically reinstalled them....

I then tried removing IE 8, and then adding it back to my system to reset anything related to IE8. This did not have any effect.

After reinstalling IE8, I did notice that, when I first tried to open the developer tools window by hitting F12 from a regular IE 8 window, I never saw anything, but I could see the developer tools title in the task manager list. I had to right click on the task and maximize the window, so I could actually see the developer tools window. Apparently this is a bug mentioned here: http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/79b8ee54-c5f6-4467-ba6d-27491c95cd13

I've realized that the window will maximize if the iexplorer.exe process is not the debugged process launched from VS2005.

The grey popup I mentioned in my original post is from the developer tools window iexplorer.exe process.

If I launch my app from VS2005 and then hit F12, I see that the developer tools window is opened (I can see that window is opened under the IE icon in my taskbar), but it is not shown. If I try to maximize it from the task manager, this has no effect.

So basically, the developer tools window is freezing up when it tries to open under my debugged iexplorer.exe process launched from VS2005. The OS then asks if I want to kill the process since it's not responding, but it is unable to kill it. At some later point, the zombie iexplorer.exe process is killed succesfully (by the OS I presume).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

笑看君怀她人 2024-08-27 00:15:21

也有同样的事情发生。您通过指出 F12 启动任务栏中的开发人员工具但未显示在屏幕上,向我提供了解决方案。显然,如果您尝试在这种状态下进行调试,该窗口会在屏幕之外无处可去,并且会导致严重的错误。所以我的解决方案是:

  1. 关闭所有 IE 实例
  2. 启动 IE
  3. 启动开发人员工具 (F12)
  4. 将光标悬停在任务栏上的 IE 按钮上,直到显示上下文菜单
  5. 右键单击​​上下文菜单中的开发人员工具项(而不是任务栏按钮) )
  6. 单击“移动”
  7. 开始点击箭头,直到看到窗口重新出现在视图中。我的在舞台左侧,所以我必须按住向右箭头。
  8. 窗口的大小将缩小到只有窗口标题栏,因此可以通过向下和向外拖动右角来调整大小。
  9. 窗口向后移动并调整大小后,将其关闭以“设置”位置。你现在应该可以走了。

Had the same thing happening. You clued me in on the solution by pointing out F12 starts Developer Tools in the taskbar but doesn't show up on the screen. Apparently the window is off screen in nowhere land and causes major screwups if you attempt to debug in this state. So my solution was to:

  1. Close all IE instances
  2. Start up IE
  3. Start up Developer Tools (F12)
  4. Hover cursor over the the IE button on the taskbar until context menu shows
  5. Right-click the Developer Tools item in the context menu (not the taskbar button)
  6. Click "Move"
  7. Start tapping arrows until you see the window come back in view. Mine was off stage left so I had to hold down the right arrow.
  8. The window will have been sized down to just a window title bar, so resize by dragging the right corner down and out.
  9. Once the window is moved back and resized, close it to "set" the position. You should be good to go now.
月下凄凉 2024-08-27 00:15:21

可能是安全补丁禁用了 IE 中的脚本调试。这是使用VS 200X调试器时常见的问题

May be the security patch has disabled script debugging in IE. It was a common problem when using the debugger of VS 200X

梦巷 2024-08-27 00:15:21

现在尝试使用 FireBug 插件来享受 FireFox。调试 Javascript 真的很棒。 :)

Now on try to enjoy FireFox with the FireBug Addon. It's really great to debug Javascript. :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文