You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Step Out action is incorrectly enabled when the active thread has only one stack frame #336124
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:
In Visual Studio Code, debug a program. (In my environment, I debug a sample program on my board using GDB.)
Suspend the program at a location where there is no parent stack frame.
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.
🤖 Thanks for the report. This was fixed in 9a98cfc: Step Out is now disabled when the active thread's stack is known to contain only one frame, while remaining available when a caller frame exists. The fix is on main and not yet in a stable release — you can verify on Insiders.
Activity
Disable Step Out action when the active thread has only one stack fra…
debug: decouple ViewModel from IDebugModel (#340770)
roblourens commentedon Oct 21, 2026
🤖 Thanks for the report. This was fixed in 9a98cfc: Step Out is now disabled when the active thread's stack is known to contain only one frame, while remaining available when a caller frame exists. The fix is on main and not yet in a stable release — you can verify on Insiders.