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
vscode.debug API should provide the current thread/stack frame ids #63943
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.
Reacted by Andrew Wang, Henning Dieterichs, Yanis HAMITI, j3m, Elazar Cohen, Naoto Ono, Haneef Mohammed, Gareth Rees, Michael Blout, Paul Kozin and 3 more
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?
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.
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.
Activity
jack-jjm commentedon Feb 28, 2022
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?
hediet commentedon Mar 1, 2022
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.
elazarcoh commentedon Mar 3, 2022
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.
weinand commentedon Mar 3, 2022
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.
elazarcoh commentedon Mar 3, 2022
is it something I can start? or it is something that is done only internally
weinand commentedon Mar 3, 2022
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.
elazarcoh commentedon Mar 26, 2022
@PaDebug if you'd like to help, you can write the API proposal. That would be the first step.
49 remaining items
debug: finalize debugFocus API
connor4312 commentedon May 7, 2024
This API has been finalized and will in tomorrow's Insiders and the next stable release. Please refer to https://github.com/microsoft/vscode/pull/212190/files#diff-0a75aed19c118603eb96332bc0b9c2d7867f4182346d16d18b7fc31b6ceeb321 for the final API.
debug: finalize debugFocus API (#212190)