-
Notifications
You must be signed in to change notification settings - Fork 28
Automatic start trace server when user requests to open a trace #155
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
Conversation
|
Replaces #142 which this one is inspired by. |
bff05a8 to
9197eea
Compare
colin-grant-work
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks pretty good to me. Perhaps @hriday-panchasara could give it a quick functional test to catch any subtleties I've missed.
hriday-panchasara
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as expected, thanks for the contribution.
This change uses the vscode-trace-server commands to start a trace server and when the server is started it will perform the pending open command. This change relies on the vscode-trace-server extension. In a future release an API can be introduced so that an extension can register the start/stop commands and also the started notification. This future enhancement would decouple the vscode-trace-extension with the vscode-trace-server implementation. Contributes to fixing Issue eclipse-cdt-cloud#15 Signed-off-by: Bernd Hufmann <[email protected]>
|
I'll open an new issue tracker for introducing an external API so that an extension can register the start/stop commands and also the started notification. This future enhancement would decouple the vscode-trace-extension with the vscode-trace-server implementation. See also #149 about the external API discussions. |
This change uses the vscode-trace-server commands to start a trace server and when the server is started it will perform the pending open command.
This change relies on the vscode-trace-server extension.
In a future release an API can be introduced so that an extension can register the start/stop commands and also the started notification. This future enhancement would decouple the vscode-trace-extension with the vscode-trace-server implementation.
Fixes #15
Signed-off-by: Bernd Hufmann [email protected]