Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Auto-Attach" DebugSession name change after launch #70104

Closed
hoehrmann opened this issue Mar 9, 2019 · 3 comments
Closed

"Auto-Attach" DebugSession name change after launch #70104

hoehrmann opened this issue Mar 9, 2019 · 3 comments
Assignees
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality

Comments

@hoehrmann
Copy link

hoehrmann commented Mar 9, 2019

I am currently implementing something akin to an »auto-attach« feature for vscode-perl-debug. When I call vscode.debug.startDebugging I do not have a good name for the debug session yet, but once a connection to the debugger is established, I can come up with a better one.

Unfortunately the DebugSession.name property is read-only and there does not seem to be an alternative to set it post-launch. https:/Microsoft/vscode-node-debug/blob/d490a306164fd086e7e792dec858b1d36a879871/src/node/extension/autoAttach.ts#L62 also uses an awkward name like Auto attached (123) it seems.

I do have control over the thread name, but in case of Perl, there is only ever one thread, and I'd rather not have session name and also thread name in the user interface, #69752.

(Some way to make vscode use the thread name of the single thread in place of the poorly auto-generated session name would work for me.)

@weinand weinand added debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality labels Mar 11, 2019
@weinand
Copy link
Contributor

weinand commented Mar 11, 2019

Valid feature request, but since you are the first to ask for this, it will not addressed anytime soon...

@weinand weinand added this to the Backlog milestone Mar 11, 2019
@hoehrmann
Copy link
Author

Related to #62972

@weinand
Copy link
Contributor

weinand commented Nov 4, 2020

@hoehrmann DebugSession.name has been made writable some time ago and changes are now properly reflected in the UI.

@weinand weinand closed this as completed Nov 4, 2020
@weinand weinand removed this from the Backlog milestone Nov 4, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Dec 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

2 participants