src/Tools/jEdit/src/debugger_dockable.scala
changeset 60898 a3fcde62df10
parent 60897 7aad4be8a48e
child 60899 84569dbe1e30
--- a/src/Tools/jEdit/src/debugger_dockable.scala	Tue Aug 11 20:05:27 2015 +0200
+++ b/src/Tools/jEdit/src/debugger_dockable.scala	Tue Aug 11 20:21:13 2015 +0200
@@ -105,15 +105,14 @@
   {
     GUI_Thread.require {}
 
-    val new_state = Debugger.current_state()
-
     val new_snapshot = PIDE.editor.current_node_snapshot(view).getOrElse(current_snapshot)
-    val new_threads = new_state.threads
+    val new_threads = Debugger.threads()
     val new_output =
     {
+      val output = Debugger.output()
       val current_thread_selection = thread_selection()
       (for {
-        (thread_name, results) <- new_state.output
+        (thread_name, results) <- output
         if current_thread_selection.isEmpty || current_thread_selection.get == thread_name
         (_, tree) <- results.iterator
       } yield tree).toList