@@ -210,40 +210,21 @@ async def action_debug_step(self) -> None:
210210 details_panel = self .query_one ("#details-panel" , RunDetailsPanel )
211211 if details_panel and details_panel .current_run :
212212 run = details_panel .current_run
213-
214- # Get the debug bridge for this run
215- debug_bridge = self .run_service .get_debug_bridge (run .id )
216- if debug_bridge :
217- # Step mode = break on all nodes
218- debug_bridge .set_breakpoints ("*" )
219- # Resume execution (will pause at next node)
220- debug_bridge .resume ()
213+ self .run_service .step_debug (run )
221214
222215 async def action_debug_continue (self ) -> None :
223216 """Continue execution without stopping at breakpoints."""
224217 details_panel = self .query_one ("#details-panel" , RunDetailsPanel )
225218 if details_panel and details_panel .current_run :
226219 run = details_panel .current_run
227-
228- # Get the debug bridge for this run
229- debug_bridge = self .run_service .get_debug_bridge (run .id )
230- if debug_bridge :
231- # Clear breakpoints = run to completion
232- debug_bridge .set_breakpoints ([])
233- # Resume execution
234- debug_bridge .resume ()
220+ self .run_service .continue_debug (run )
235221
236222 async def action_debug_stop (self ) -> None :
237223 """Stop debug execution."""
238224 details_panel = self .query_one ("#details-panel" , RunDetailsPanel )
239225 if details_panel and details_panel .current_run :
240226 run = details_panel .current_run
241-
242- # Get the debug bridge for this run
243- debug_bridge = self .run_service .get_debug_bridge (run .id )
244- if debug_bridge :
245- # Signal quit
246- debug_bridge .quit ()
227+ self .run_service .stop_debug (run )
247228
248229 async def action_clear_history (self ) -> None :
249230 """Clear run history."""
0 commit comments