Skip to content

Commit bdfebbe

Browse files
zobofelixfbecker
andauthored
fix: removes code execution indicator when process is terminated (#368)
If the debugger is standing on a line and DBGp connection is interrupted (for example, php process terminated) the thread will go away, but the execution indicator will stay. Signaling a continued event before Thread exit solves this. Co-authored-by: Damjan Cvetko <damjan.cvetko@monotek.net> Co-authored-by: Felix Becker <felix.b@outlook.com>
1 parent 22819aa commit bdfebbe

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/phpDebug.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ class PhpDebugSession extends vscode.DebugSession {
270270
)
271271
)
272272
}
273+
this.sendEvent(new vscode.ContinuedEvent(connection.id, false))
273274
this.sendEvent(new vscode.ThreadEvent('exited', connection.id))
274275
connection.close()
275276
this._connections.delete(connection.id)

0 commit comments

Comments
 (0)