1) updateThreads is needed.
authorrobekras <robekras>
Sun, 26 Dec 2010 15:00:13 +0000 (15:00 +0000)
committerrobekras <robekras>
Sun, 26 Dec 2010 15:00:13 +0000 (15:00 +0000)
net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/model/PHPDebugTarget.java

index 41c5a39..00f460a 100644 (file)
@@ -106,11 +106,11 @@ public class PHPDebugTarget extends PHPDebugElement implements IPHPDebugTarget,
                fireChangeEvent();
                fireThreadCreateEvent(phpThread);
        }
-       
-//     public void updateThreads(PHPThread phpThread) {
-//             fireChangeEvent();
-//             fireThreadCreateEvent(phpThread);
-//     }
+
+       public void updateThreads (PHPThread phpThread) {
+               fireChangeEvent ();
+               fireThreadCreateEvent (phpThread);
+       }
 
        private void fireChangeEvent() {
                DebugEvent ev = new DebugEvent(this, DebugEvent.CHANGE);
@@ -173,10 +173,10 @@ public class PHPDebugTarget extends PHPDebugElement implements IPHPDebugTarget,
        public synchronized boolean isTerminated() {
                return state.isTerminated();
        }
-       
+
        private synchronized void terminateThreads () {
                int i;
-               
+
                try {
                        for (i = 0; i < threads.length; i++) {
                                threads[i].terminate ();