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
Looks like async methods should care about exceptions in another way:
<- (E) {"body":{"allThreadsStopped":true,"reason":"exception","text":"An unhandled exception of type 'System.Exception' occurred in System.Private.CoreLib.dll","threadId":93289},"event":"stopped","seq":"14","type":"event"}
plus, in this case we have some "exception handler" (not user code)
in the same time, if I click on top frame, I see proper exception data:
For example, MS C# debugger:
<- (E) {"seq":28,"type":"event","event":"stopped","body":{"reason":"exception","threadId":93792,"text":"An exception of type 'System.Exception' occurred in vscode_test.dll but was not handled in user code","allThreadsStopped":true,"source":{"name":"Program.cs","path":"/home/viewizard/Desktop/projects_test/vscode_test/Program.cs"},"line":8,"column":9}}
Overview
Cannot get location of unhandled exception occurred in async Main program.
Environment
Steps to reproduce
code example
pipeTransport setting
Expected
program stops and display exception message.
Actual
program stopped but no message.
callstack information is "Unknown Source"
Additional Information
edit Main function to sync, it works as expected.
The text was updated successfully, but these errors were encountered: