Fix bug #672
authorincastrix <incastrix>
Mon, 24 Mar 2008 22:24:45 +0000 (22:24 +0000)
committerincastrix <incastrix>
Mon, 24 Mar 2008 22:24:45 +0000 (22:24 +0000)
net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugTarget.java

index 43f7c9c..be31843 100644 (file)
@@ -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();