equal
deleted
inserted
replaced
166 } |
166 } |
167 |
167 |
168 def focus(new_focus: Option[Position.T]): Boolean = |
168 def focus(new_focus: Option[Position.T]): Boolean = |
169 global_state.change_result(state => (state.focus != new_focus, state.set_focus(new_focus))) |
169 global_state.change_result(state => (state.focus != new_focus, state.set_focus(new_focus))) |
170 |
170 |
171 def cancel(thread_name: String): Unit = |
|
172 current_state().session.protocol_command("Debugger.cancel", thread_name) |
|
173 |
|
174 def input(thread_name: String, msg: String*): Unit = |
171 def input(thread_name: String, msg: String*): Unit = |
175 current_state().session.protocol_command("Debugger.input", (thread_name :: msg.toList):_*) |
172 current_state().session.protocol_command("Debugger.input", (thread_name :: msg.toList):_*) |
176 |
173 |
177 def step(thread_name: String): Unit = input(thread_name, "step") |
174 def step(thread_name: String): Unit = input(thread_name, "step") |
178 def step_over(thread_name: String): Unit = input(thread_name, "step_over") |
175 def step_over(thread_name: String): Unit = input(thread_name, "step_over") |