Visual Studio 2015 Update 3在退出调试时按Shift-F5挂起 [英] Visual Studio 2015 Update 3 Hangs when Quit Debugging w Shift-F5

查看:87
本文介绍了Visual Studio 2015 Update 3在退出调试时按Shift-F5挂起的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我今天早上加载了VS 2015 Update 3

从那时起我已经有三次任务经理VS,同时调试一个相当大的C ++应用程序

该应用程序是一个32位C ++,加载一些混合垫片,并动态加载一些dll

I loaded VS 2015 Update 3 this morning
Since then Ive had to task manager VS 3 times, while debugging a fairly large C++ app
The app is a 32bit C++ which loads some mixed shims, and dynamically loads some dlls

步骤是:

构建为调试配置并在调试器中运行

该程序将抛出异​​常,例如对话框对象将具有m_hWnd = 0

或者是
该程序将过度使用很长,所以我用Debug / Break All停止它几次以查看它的慢速

The steps were;
Built as debug configuration and ran in debugger
The program would throw an exception for instance a dialog object would have m_hWnd = 0
Or
The program would take overly long, so I stop it with Debug/Break All a few times to see about where its slow

然后 - 进行编辑并尝试应用w Alt F10

失败,因为程序没有使用增量链接构建

所以我按Shift F5退出调试

Then - make an edit and try to apply w Alt F10
That fails because the program isnt built with incremental linking
So I hit Shift F5 to Quit Debugging

VS挂起,我必须从任务管理器中取出它

VS hangs, I have to task manager out of it

推荐答案

BillInPA,

Hi BillInPA,

你知道这个论坛是讨论VS Debugger工具,只是为了解决这个问题rly:

You know that this forum is to discuss the VS Debugger tool, just to make this issue clearly:

您可以在安装更新3之前调试此应用程序吗?是否所有VC ++应用程序都有相同的问题?如果有的话,你可以分享一下详细的异常消息吗?

Could you debug this app before you installed the update 3? Whether all VC++ apps have the same issue? Could you share us the detailed exception message if you got?

为了确保它是否是调试工具问题,一种简单的方法是我们可以使用"无需启动"来运行应用程序调试",如果它仍然有这个问题,也许它不是调试工具问题。

To make sure that whether it is the debugger tool issue, one simple way is that we could run the app using "Start without debugging", if it still has this issue, maybe it is not the debugger tool issue.

或者你可以在其他VS2015机器上调试相同的应用程序,检查结果。如果它在其他VS2015机器上运行良好,也许我们会考虑VS或windows环境。

Or you could debug the same app in other VS2015 machine, check the result. If it worked well in other VS2015 machine, maybe we would think about the VS or the windows Environment.

>>该应用程序是一个32位C ++,可以加载一些混合填充程序,并动态加载一些dll。

>>The app is a 32bit C++ which loads some mixed shims, and dynamically loads some dlls.

什么是混合填充程序或动态dll文件?他们是否使用其他开发语言?

What is the mixed shims or dynamical dll file? Whether they use other developing language?

也许你会检查它是否与调试器类型"混合模式"有关。在项目属性或设置下的TOOLS-> Options-> Debugging-> General。

Maybe you would check that whether it is related to the debugger type "mix mode" in the project property or settings under TOOLS->Options->Debugging->General.

当然,如果可能,您可以使用Exception窗口捕获详细的Exception消息在调试模式下:

Of course, if possible, you could use the Exception windows to capture the detailed Exception messages in debugging mode:

https: //msdn.microsoft.com/en-us/library/x85tt0dd.aspx?f=255&MSPPError=-2147217396

如果在安装更新之前它运行良好3,也许您可​​以使用一个驱动器与我们分享一个简单的示例,我将使用与您相同的环境进行调试,至少,我们可以知道它是否是更新3的问题。

If it worked well before you install the update 3, maybe you could share us a simple sample using one drive, I will debug it using the same Environment as yours, at least, we could know that whether it is update 3's issue.

最诚挚的问候,

杰克


这篇关于Visual Studio 2015 Update 3在退出调试时按Shift-F5挂起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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