Skip to content

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

Merged
akosyakov merged 1 commit intomasterfrom
ak/node_toggle_skipping
Jan 30, 2019
Merged

[node-debug] fixes for Toggle skipping this file command#4177
akosyakov merged 1 commit intomasterfrom
ak/node_toggle_skipping

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>
$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