equal
deleted
inserted
replaced
90 private def handle_update() |
90 private def handle_update() |
91 { |
91 { |
92 GUI_Thread.require {} |
92 GUI_Thread.require {} |
93 |
93 |
94 val new_snapshot = PIDE.editor.current_node_snapshot(view).getOrElse(current_snapshot) |
94 val new_snapshot = PIDE.editor.current_node_snapshot(view).getOrElse(current_snapshot) |
95 val new_output = List(XML.Text("FIXME")) |
95 val new_output = // FIXME select by thread name |
|
96 (for ((_, results) <- Debugger.current_state.output; (_, tree) <- results.iterator) |
|
97 yield tree).toList |
96 |
98 |
97 if (new_output != current_output) |
99 if (new_output != current_output) |
98 pretty_text_area.update(new_snapshot, Command.Results.empty, Pretty.separate(new_output)) |
100 pretty_text_area.update(new_snapshot, Command.Results.empty, Pretty.separate(new_output)) |
99 |
101 |
100 current_snapshot = new_snapshot |
102 current_snapshot = new_snapshot |