This repository was archived by the owner on Aug 28, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,9 @@ def set_debugging_status(self, status):
3939 elif status == 3 :
4040 text = 'Debugging in progress ...'
4141 color = "green"
42+ elif status == 4 :
43+ text = 'Running ...'
44+ color = "blue"
4245
4346 self .label .setText (text )
4447
Original file line number Diff line number Diff line change @@ -463,6 +463,8 @@ def handle_step_command(self):
463463 If the debugger is in a stopping state, stop the debugging session.
464464 """
465465
466+ self .main_window .set_debugging_status (3 )
467+
466468 if self .debugger .is_breaking ():
467469 self .focus_current_line ()
468470
@@ -480,27 +482,35 @@ def run_debug(self):
480482
481483 This gets called when the "Run" action button is pressed.
482484 """
485+ self .main_window .set_debugging_status (4 )
486+
483487 self .debugger .run_debug ()
484488
485489 def step_over (self ):
486490 """Issue a step over continuation command on the debugger
487491
488492 This gets called when the "Step over" action button is pressed.
489493 """
494+ self .main_window .set_debugging_status (4 )
495+
490496 self .debugger .step_over ()
491497
492498 def step_into (self ):
493499 """Issue a step into continuation command on the debugger
494500
495501 This gets called when the "Step into" action button is pressed.
496502 """
503+ self .main_window .set_debugging_status (4 )
504+
497505 self .debugger .step_into ()
498506
499507 def step_out (self ):
500508 """Issue a step out continuation command on the debugger
501509
502510 This gets called when the "Step out" action button is pressed.
503511 """
512+ self .main_window .set_debugging_status (4 )
513+
504514 self .debugger .step_out ()
505515
506516 def handle_got_all_variables (self , variables ):
You can’t perform that action at this time.
0 commit comments