Open pawelszramowski opened 2 weeks ago
Hi!
I've fixed a bug that caused the debug session not to abort when encountering a fatal error. I haven't been able to reproduce your specific error, but disconnecting the board mid-session produces a similar dialog which is now able to properly abort the session. I am fairly confident this will work for the dialog you're describing too. The fix will be included in the next release.
Describe the bug:
I have a flaky J-Link that frequently causes an error like this:![image](https://github.com/IARSystems/iar-vsc-debug/assets/27921321/566c5ca0-84e4-4295-a333-baaa72278e38)
When I agree to abort the debug session by clicking Yes in the message box, the debug session is not actually aborted. I need to
Stop (Shift+F5)
it manually.To Reproduce:
Have the debugger report an error... Disconnecting the debugger from the computer may have the same effect but I haven't checked.
Expected behavior:
The debug session is aborted after clicking Yes.
Actual behavior:
The debug session is not aborted after clicking Yes.
Environment:
Additional context:
Output from IAR C-SPY Debug:
The first line shows after I
Start debugging (F5)
. The second line shows after I select the debugger. The last line shows after I manuallyStop (Shift + F5)
the debug session.