调试应用程序-vshost32.exe停止工作 [英] debugging application - vshost32.exe stop working

查看:188
本文介绍了调试应用程序-vshost32.exe停止工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我正在尝试调试我的应用程序之一.但是,当我的应用程序崩溃时,VS不会破坏该应用程序以查看代码,它仅显示对话框,并显示消息vshost32.exe已停止工作.在Visual Studio属性中,仅启用我的代码" 被检查.在菜单调试-例外"中,所有例外都有用户-未处理".检查.当我尝试检查"Thrown"时,它可以正常工作,但它会一直中断(即使我捕获到异常也是如此)-因此,我不希望"Thrown"(抛出)异常.已选中.

Hello,
I'm trying to debug one of my application. But when my application crashes, VS doesn't break the application to see the code, it only shows dialog box with message that vshost32.exe has stopped working. In Visual Studio properties, "Enable just my code" is checked. In menu Debug - Exceptions all exceptions have "User - unhandled" checked. When I tried to check "Thrown" it works, but it breaks all the time (even if I catch the exception) - so I don't want to have "Thrown" checked.

在某些项目中它可以工作,但在我当前的项目中却没有.在该项目的属性中,我只有启用VS托管过程".检查.您能帮忙解决什么问题吗?我使用的是VS 2008,项目是.NET 3.5中的C#.

In some project it works, but in my current project doesn't. In properties of this project I have only "Enable the VS hosting process" checked. Can you help what is wrong? I'm using VS 2008 and the project is C# in .NET 3.5.

谢谢

edit:我试图在朋友的PC上调试该项目,并且效果很好.因此,在我的VS设置中应该是一个错误.有任何想法吗?

edit: I tried to debug this project on my friend's pc and it works good. So it should be an error in my settings of VS. Any ideas?

推荐答案

那么,您的应用程序是独立启动的吗?我的意思是该应用程序不是从Visual Studio IDE启动的.

So, your application is started standalone? I meaning the application is not started from Visual Studio IDE.

这是本机应用程序吗?您是否尝试为托管和本地设置JIT?工具->选项->调试->及时调试.

Is it a native application? did you try to set JIT for both Managed and Native? Tools->Options->Debugging->Just-In-Time Debugging.


这篇关于调试应用程序-vshost32.exe停止工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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