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 13, 2016
1 parent 4fd6a70 commit e6e416a
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 @@ -269,11 +269,11 @@ export class DebugService implements debug.IDebugService {

this.toDisposeOnSessionEnd.push(this.session.onDidContinue(threadID => {
aria.status(nls.localize('debuggingContinued', "Debugging continued."));
// TODO@Isidor temporary workaround for #5835
if (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 e6e416a

Please sign in to comment.