调试程序窗口不会关闭 [英] Debugged Program Window Won't Close

查看:119
本文介绍了调试程序窗口不会关闭的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在64位的XP机器上使用VS 2008。我通过控制台程序调试32位C ++ DLL。 DLL和EXE项目包含在同一SLN中,这样我可以在测试时修改DLL。

I'm using VS 2008 on a 64-bit XP machine. I'm debugging a 32-bit C++ DLL via a console program. The DLL and EXE projects are contained in the same SLN so that I can modify the DLL as I test.

会发生什么事情,与Debug |停止调试(Shift-F5)。 VS停止程序,但控制台窗口保持打开!如果我坐在一个断点处并按Shift-F5,它会正常终止,但如果程序运行完全倾斜,当我停止它,我经常看到这个。

What happens is that every once in a while I kill the program with Debug | Stop Debugging (Shift-F5). VS stops the program, but the console window stays open! If I'm sitting at a breakpoint and hit Shift-F5, it will terminate properly, but if the program is running full-tilt when I stop it, I often see this instead.

最大的问题是我无法关闭这些僵尸窗口。使用任务管理器中的任务什么也不做(没有消息,没有任何东西)。当我关闭机器,它是无法由于孤儿,我不得不求助于实际上关闭电源。

The big problem is that I can't close these zombie windows. Using End Task in Task Manager does nothing (no message, no nothing). When I shut down the machine, it is unable to due to the orphans and I have to resort to actually turning off the power.

我认为这是连接到有DLL和EXE项目在同一个SLN,作为几个月我在这个项目在2个VS实例,一个为DLL和其他为EXE。我会继续在窗户之间来回跳舞,因为我工作。这个问题从来没有发生,直到我把两个项目放到一个单一的SLN。

I think this is connected to having the DLL and EXE project in the same SLN, as for months I worked on this project in 2 VS instances, one for the DLL and the other for the EXE. I would continually jump back and forth between the windows as I worked. This problem never happened until I put the two projects into a single SLN. The single SLN works a lot better, but this anomaly is very irritating.

任何想法都可以吗?

strong> UPDATE

UPDATE

稍后搜索(这里),我发现它似乎与上周二的更新(KB977165或KB978037) 。感谢Microsoft为您的出色的预发布测试。

After a bit of searching (here), I found that it appears to have to do with one of the updates from last Tuesday (KB977165 or KB978037). Thank you Microsoft for your excellent pre-release testing.

推荐答案

这是KB978037。解除安装即可解决问题。

It's KB978037. Uninstalling it resolves the issue.

更多信息

这篇关于调试程序窗口不会关闭的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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