Skip to content
This repository was archived by the owner on Aug 28, 2020. It is now read-only.

Commit 5e69166

Browse files
committed
set debugging status to running before doing a step command
1 parent b8929da commit 5e69166

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pugdebug/pugdebug.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,27 +480,35 @@ def run_debug(self):
480480
481481
This gets called when the "Run" action button is pressed.
482482
"""
483+
self.main_window.set_debugging_status(4)
484+
483485
self.debugger.run_debug()
484486

485487
def step_over(self):
486488
"""Issue a step over continuation command on the debugger
487489
488490
This gets called when the "Step over" action button is pressed.
489491
"""
492+
self.main_window.set_debugging_status(4)
493+
490494
self.debugger.step_over()
491495

492496
def step_into(self):
493497
"""Issue a step into continuation command on the debugger
494498
495499
This gets called when the "Step into" action button is pressed.
496500
"""
501+
self.main_window.set_debugging_status(4)
502+
497503
self.debugger.step_into()
498504

499505
def step_out(self):
500506
"""Issue a step out continuation command on the debugger
501507
502508
This gets called when the "Step out" action button is pressed.
503509
"""
510+
self.main_window.set_debugging_status(4)
511+
504512
self.debugger.step_out()
505513

506514
def handle_got_all_variables(self, variables):

0 commit comments

Comments
 (0)