使用IIS 7.5在vs 2012中调试器崩溃

时间:2013-07-16 22:31:39

标签: visual-studio debugging iis visual-studio-2012 visual-studio-debugging

我有一个通过IIS运行的Web项目设置,现在突然调试器无法正常工作。每次我尝试运行它时,它都会崩溃并重新启动。我可以使用内置服务器运行调试器,我可以在我设置的新项目上运行它并连接到IIS。

似乎有些人对我这样做了,我不知道如何让它发挥作用。

错误应用程序名称:devenv.exe,版本:11.0.60315.1,时间戳:0x5142bb7b 错误模块名称:KERNELBASE.dll,版本:6.1.7601.18015,时间戳:0x50b83c8a 异常代码:0xe0434352 故障偏移:0x0000c41f 错误进程id:0x1178 错误应用程序启动时间:0x01ce81aaa9ffdace 错误应用程序路径:C:\ Program Files(x86)\ Microsoft Visual Studio 11.0 \ Common7 \ IDE \ devenv.exe 错误模块路径:C:\ Windows \ syswow64 \ KERNELBASE.dll 报告编号:c2498861-ed9e-11e2-ba62-10604b7df519

应用程序:devenv.exe 框架版本:v4.0.30319 描述:由于未处理的异常,进程终止。 异常信息:System.Reflection.TargetInvocationException 堆:    在System.RuntimeMethodHandle.InvokeMethod(System.Object,System.Object [],System.Signature,Boolean)    在System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object,System.Object [],System.Object [])    在System.Reflection.RuntimeMethodInfo.Invoke(System.Object,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object [],System.Globalization.CultureInfo)    在Microsoft.VsPixPkg.XXX_DebugLaunchHook.OnLaunchDebugTargets(UInt32,Microsoft.VisualStudio.Shell.Interop.VsDebugTargetInfo4 [],Microsoft.VisualStudio.Shell.Interop.VsDebugTargetProcessInfo [])    在Microsoft.VisualStudio.Shell.Interop.IVsDebugger3.LaunchDebugTargets3(UInt32,Microsoft.VisualStudio.Shell.Interop.VsDebugTargetInfo3 [],Microsoft.VisualStudio.Shell.Interop.VsDebugTargetProcessInfo [])    在Microsoft.VisualStudio.Web.Application.DebugCfg.DebugLaunch(UInt32)

1 个答案:

答案 0 :(得分:2)

问题是我在设置多个工作进程时尝试通过IIS进行调试。一旦我把它设置回一个,一切都运行良好。