From 1693cda718d464bf27d4fe99322f657da01093d3 Mon Sep 17 00:00:00 2001 From: incastrix Date: Mon, 24 Mar 2008 22:24:45 +0000 Subject: [PATCH] Fix bug #672 --- .../phpeclipse/xdebug/php/model/XDebugTarget.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugTarget.java b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugTarget.java index 43f7c9c..be31843 100644 --- a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugTarget.java +++ b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugTarget.java @@ -211,8 +211,9 @@ public class XDebugTarget extends XDebugElement implements IDebugTarget, IDebugE public void resume() throws DebugException { if (fDebugConnection != null) { fThread.setBreakpoints(null); + resumed(DebugEvent.RESUME); fDebugConnection.run(); - } + } } /** @@ -541,6 +542,8 @@ public class XDebugTarget extends XDebugElement implements IDebugTarget, IDebugE return; } + resumed(DebugEvent.TERMINATE); + stopListener(); fDebugConnection.close(); -- 1.7.1