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

[node-debug] fixes for Toggle skipping this file command #4177

Merged
merged 1 commit into from
Jan 30, 2019

Conversation

akosyakov
Copy link
Member

@akosyakov akosyakov commented Jan 28, 2019

fix #4176

It depends on #4173, otherwise there is no a menu item.

toggle_skip_file

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
@@ -977,7 +977,7 @@ export interface DebugMain {
$addBreakpoints(breakpoints: Breakpoint[]): Promise<void>;
$removeBreakpoints(breakpoints: Breakpoint[]): Promise<void>;
$startDebugging(folder: theia.WorkspaceFolder | undefined, nameOrConfiguration: string | theia.DebugConfiguration): Promise<boolean>;
$customRequest(command: string, args?: any): Promise<DebugProtocol.Response>;
$customRequest(sessionId: string, command: string, args?: any): Promise<DebugProtocol.Response>;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't we add new method or add argument at the end to not break ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm is that in fact there were a problem, command was being sent instead of sessionId ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i thought it was a mistake in the first place, implementation has different method signature and was broken before by using command as sessionId:
https://github.com/theia-ide/theia/blob/438efefd9b90e53aa58f54f2a8dfd50af8ba045b/packages/plugin-ext/src/main/browser/debug/debug-main.ts#L196

@akosyakov akosyakov merged commit d76196d into master Jan 30, 2019
@akosyakov akosyakov deleted the ak/node_toggle_skipping branch January 30, 2019 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

active debug session is not properly updated
3 participants