Skip to content

Step Out action is incorrectly enabled when the active thread has only one stack frame #336124

Closed as not planned

Description

@tuanvtdeptre199

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.

Image

Activity

  1. roblourens commented on Oct 21, 2026

    @roblourens
    Member

    🤖 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions