You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -26,7 +27,7 @@ public async Task<StackTraceResponse> Handle(StackTraceArguments request, Cancel
26
27
{
27
28
if(!debugService.IsDebuggerStopped)
28
29
{
29
-
thrownewNotSupportedException("Stacktrace was requested while we are not stopped at a breakpoint.");
30
+
thrownewRpcErrorException(0,null!,"Stacktrace was requested while we are not stopped at a breakpoint. This is a violation of the DAP protocol, and is probably a bug.");
30
31
}
31
32
32
33
// Adapting to int to let us use LINQ, realistically if you have a stacktrace larger than this that the client is requesting, you have bigger problems...
@@ -35,7 +36,7 @@ public async Task<StackTraceResponse> Handle(StackTraceArguments request, Cancel
35
36
36
37
// We generate a label for the breakpoint and can return that immediately if the client is supporting DelayedStackTraceLoading.
0 commit comments