godotengine / godotengine/godot-vscode-plugin
Can't continue the execution after a failed ``assert``
- Dominant language
- TypeScript
- Stars
- 2.1k
- Forks
- 257
- PR merge metrics
- No merged PRs in 30d
Description
### Godot version
4.5.1
### VS Code version
1.105.1
### Godot Tools VS Code extension version
2.5.1
### System information
Windows 10
### Issue description
When an ``assert`` statement fails while debugging, the debugger correctly stops on it, but pressing Continue or any of the Step buttons does not allow to continue executing further after the assert.
The Godot editor allows to continue the execution in these circumstances, but VSCode doesn't.
### Steps to reproduce
- Write ``assert(false)`` in any function that will be executed (e.g. the ``_ready`` function in your main scene)
- Launch the debugger from VSCode with F5
- The execution will stop at the assert statement. Try to continue executing using the debugger buttons.
Contributor guide
Assessment
This issue has not been assessed yet.