简体   繁体   中英

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

~ Jumping not possible. The operation could not be completed. It should be repeated.

The original german translation is:

Springen nicht möglich. 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.

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...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM