简体   繁体   English

为什么在调试ASP.NET项目期间Visual Studio调试器为何停止工作,提示“无法跳转”

[英]Why does the Visual Studio Debugger stop working during debugging ASP.NET project saying ~“Jump not possible”

Sometimes when I am debugging my ASP.NET(c#) and javascript code in Visual Studio 2017, the debugger stops stepping through the code saying 有时,当我在Visual Studio 2017中调试ASP.NET(c#)和javascript代码时,调试器会停止单步执行代码

~ Jumping not possible. 〜不可能跳。 The operation could not be completed. 操作无法完成。 It should be repeated. 应该重复一遍。

The original german translation is: 原始的德语翻译是:

Springen nicht möglich. Springen nichtmöglich。 Der Vorgang konnte nicht abgeschlossen werden. Der Vorgang konnte nicht abgeschlossen werden。 Er sollte wiederholt werden." 厄尔·维德霍尔特·韦登。”

It seems like the debugger is no longer attached to the process, or some process in the Background stops working. 似乎调试器不再连接到该进程,或者后台中的某些进程停止工作。

Does someone consider the same Problem and knows how to fix this behaviour? 有人会考虑相同的问题并且知道如何解决此问题吗?

I am using Visual Studio 2017, ASP.NET (C#) pages with HTML5/jquery/Ajax calls. 我正在将Visual Studio 2017,ASP.NET(C#)页面与HTML5 / jquery / Ajax调用一起使用。

The positions in code where the Debugger stops, seem to be random. 调试器停止在代码中的位置似乎是随机的。 It is extremely annoying because all I can do is to stop and restart debugging, and I have to click again all the way through my testing scenario. 这非常烦人,因为我所能做的就是停止并重新启动调试,并且在整个测试场景中,我都必须再次单击。

Here is a workaround to the issue : 这是解决该问题的方法:

Go to Tools -> Options -> Debugging -> General 转到工具->选项->调试->常规

Turn off 关掉

Break all processes when one process breaks. 一个过程中断时,中断所有过程。

However that breaks the Edit and continue experience... 但是,这中断了“编辑并继续”的体验...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio和Asp.net MVC3项目的问题 - Probleme with visual studio and Asp.net mvc3 project Visual Studio警告ASP.NET项目中的“内容不允许” - Visual Studio Warning “Content is not allowed” in ASP.NET project 在ASP.NET项目中调试JavaScript - Debugging javascript in ASP.NET project 调试器无法在 Visual Studio 中工作 - Debugger not working in visual studio Visual Studio,ASP.Net(.Net Framework),并在项目中包含NuGet安装的软件包 - Visual Studio, ASP.Net (.Net Framework) and including NuGet installed packages in a project 在Visual Studio(或其他JS调试器)中调试Javascript - Debugging Javascript in Visual Studio (or other JS debugger) asp.net core 中的 JavaScript 在 Visual Studio 2019 中反应 redux 项目 - JavaScript in asp.net core react redux project in Visual Studio 2019 如果javascript文件中存在语法错误,我能否使asp.net visual studio 2013项目构建失败? - Can I fail asp.net visual studio 2013 project builds if there's syntax errors in javascript files? 为什么 Microsoft Visual Studio 中的脚本调试器对我不起作用 - Why does the script debugger in Microsoft Visual Studio not work for me jQuery为什么停止调试器? - Why does jQuery stop debugger?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM