From bbe22d2072a0c7475e182dc719586cc37c17c624 Mon Sep 17 00:00:00 2001 From: isidor Date: Thu, 12 May 2016 18:54:10 +0200 Subject: [PATCH] debug: handle php one thread stop behavior as a special case not as a general rule fixes #6304 --- .../parts/debug/electron-browser/debugService.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/vs/workbench/parts/debug/electron-browser/debugService.ts b/src/vs/workbench/parts/debug/electron-browser/debugService.ts index 8a61b2e3e4ecb..30c5fc809eb50 100644 --- a/src/vs/workbench/parts/debug/electron-browser/debugService.ts +++ b/src/vs/workbench/parts/debug/electron-browser/debugService.ts @@ -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.