Skip to content

Commit

Permalink
debug: handle php one thread stop behavior as a special case not as a…
Browse files Browse the repository at this point in the history
… general rule

fixes #6304
  • Loading branch information
isidorn committed May 12, 2016
1 parent ba09fd7 commit bbe22d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/vs/workbench/parts/debug/electron-browser/debugService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -867,11 +867,11 @@ export class DebugService implements debug.IDebugService {
toDispose.dispose();
if (!cancelTransitionToRunningState) {
aria.status(nls.localize('debuggingContinued', "Debugging continued."));
// TODO@Isidor temporary workaround for #5835
if (this.session && strings.equalsIgnoreCase(this.session.configuration.type, 'go')) {
this.model.clearThreads(false);
} else {
// TODO@Isidor temporary workaround for #1703
if (this.session && strings.equalsIgnoreCase(this.session.configuration.type, 'php')) {
this.model.clearThreads(false, threadId);
} else {
this.model.clearThreads(false);
}

// Get a top stack frame of a stopped thread if there is any.
Expand Down

0 comments on commit bbe22d2

Please sign in to comment.