Step Out action is incorrectly enabled when the active thread has only one stack frame
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.4k
- PR merge metrics
- PR metrics pending
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.137.0 Date: 2026-09-08T13:43:59-07:00
- OS Version: Windows 11 version 25H2 (OS Build 26200.7840)
Steps to Reproduce:
1. In Visual Studio Code, debug a program. (In my environment, I debug a sample program on my board using GDB.)
2. Suspend the program at a location where there is no parent stack frame.
3. Check the status of the Step Out button in the Debug toolbar.
EXPECTED: The Step Out button should be disabled because the active thread has only one stack frame, so there is no parent stack frame to step out to.
ACTUAL: The Step Out button is enabled. When clicking the button, Visual Studio Code displays an unexpected error because the program cannot step out from the current stack frame.
Contributor guide
Assessment
This issue has not been assessed yet.