Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pressing the restart button without pausing breaks the debug session #38

Open
FT9R opened this issue Dec 24, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@FT9R
Copy link

FT9R commented Dec 24, 2024

Describe the bug:
When i hit restart button (Ctrl+Shift+F5) without pausing the debug session the debugger becomes no longer available.

To Reproduce:

  • Start debug session (F5)
  • Press continue (F5)
  • Press restart (Ctrl+Shift+F5)

Expected behavior:
The application entry point is reached and debug session is paused.

Actual behavior:
Debugger does not respond to any actions.
Debug console content: Reset while executing is not supported by this target.
VSCode messages: Failed to go to specified location.

Environment:

  • OS: Windows_NT x64 10.0.19045
  • Embedded Workbench: Arm
  • Embedded Workbench version: 9.2
  • VSC Extension version: 1.40.1
@FT9R FT9R added the bug Something isn't working label Dec 24, 2024
@HampusAdolfsson
Copy link
Collaborator

Hi, thanks for reporting this!

As pointed out by the log message, not all debugger drivers support restarting the program while it is executing. This is the same when debugging in Embedded Workbench and it is not something we can address from this VS Code extension.

However, failing to restart should not cause the debugger to become unresponsive. I've tracked this down to a bug in VS Code which I've reported here:
microsoft/vscode#237414
Once it is fixed, the debugger should stay responsive after a failed restart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants