Skip to content

Commit 2621f5e

Browse files
committed
Moved the continue call to hopefully fix test error
1 parent 3a5e678 commit 2621f5e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cq_editor/widgets/debugger.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -352,11 +352,12 @@ def debug(self, value):
352352
# clear possible traceback
353353
self.sigTraceback.emit(None, self.script)
354354

355-
# Move to the first breakpoint
356-
self.debug_cmd(DbgState.CONT)
357-
358355
try:
359356
sys.settrace(self.trace_callback)
357+
358+
# Move to the first breakpoint
359+
self.debug_cmd(DbgState.CONT)
360+
360361
exec(code, module.__dict__, module.__dict__)
361362
except BdbQuit:
362363
pass

0 commit comments

Comments
 (0)