Skip to content

vscode.debug API should provide the current thread/stack frame ids #63943

Closed

Description

Currently the vscode.debug API provides a way to send custom events to debug adapters. But it is missing one fairly important thing - there is no way to know what the current thread id / frame id is. So a debug adapter could maybe guess. But it feels like there should really be a way to query this.

Activity

  1. added
    debug
    feature-request
    on Nov 28, 2018
  2. jack-jjm commented on Feb 28, 2022

    @jack-jjm

    Hi Henning Dieterichs (@hediet), I noticed you self-assigned this recently. I was wondering, is there any kind of plan as to what an eventual API on this might look like? I also wanted to check that this feature request is the same one discussed on a different repo here. Is the idea here to allow access to the ID of the "current" stack frame in the sense of the one that the user has selected in the VS Code debugger view in the sidebar?

  3. hediet commented on Mar 1, 2022

    @hediet
    Member

    It is unclear if this ever gets implemented, but I have a personal interest in it, thus I assigned it to myself to keep track of it.

  4. elazarcoh commented on Mar 3, 2022

    @elazarcoh

    Andre Weinand (@weinand) Will you accept a PR for this?
    I have the code here.
    I tried to keep it smallest and coherent with existing code as possible.

  5. weinand commented on Mar 3, 2022

    @weinand
    Contributor

    Elazar Cohen (@elazarcoh) In principle we are willing to accept a PR. But since this is extension API it has to go through our extension API review process.
    The first thing we need is an API proposal.

  6. elazarcoh commented on Mar 3, 2022

    @elazarcoh

    is it something I can start? or it is something that is done only internally

  7. weinand commented on Mar 3, 2022

    @weinand
    Contributor

    Elazar Cohen (@elazarcoh) you can start just here.
    Please study some existing API items with the "api-proposal" label to learn how API proposals look like.

  8. elazarcoh commented on Mar 26, 2022

    @elazarcoh

    @PaDebug if you'd like to help, you can write the API proposal. That would be the first step.

  9. 49 remaining items

  10. added a commit that references this issue on May 7, 2024
    78cafec
  11. connor4312 commented on May 7, 2024

    @connor4312
    Member
  12. added a commit that references this issue on May 7, 2024
    6e009e0
  13. added
    unreleased
    insiders-released
    and removed
    unreleased
    on May 7, 2024
  14. locked and limited conversation to collaborators on Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

apiapi-finalizationdebugfeature-requestinsiders-releasedon-testplan

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions