qsharp icon indicating copy to clipboard operation
qsharp copied to clipboard

Runtime error message and call stack printed as one line with \n

Open tcNickolas opened this issue 1 year ago • 1 comments
trafficstars

Describe the bug

Runtime error message and call stack printed as one line with "\n" symbols instead of a proper multi-line output in Debug Console when running using "Run" button in VS Code.

Expected behavior

Proper multi-line call stack without the "Result" word

Screenshots

image

System information

  • AQDK 1.7.0

tcNickolas avatar Aug 21 '24 20:08 tcNickolas

On a related note, I don't see line numbers in the error, or any way to get from it to the point in the code where the error happened. In the past, in Visual Studio at least, runtime errors used to be shown next to their origin:

image

tcNickolas avatar Aug 21 '24 20:08 tcNickolas