Skip to content

Commit cabcaad

Browse files
committed
correct step into FINALLY in debugger
1 parent 5a3fa23 commit cabcaad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

robotcode/debugger/debugger.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ def next(self, thread_id: int, granularity: Optional[SteppingGranularity] = None
278278
"ELSE IF",
279279
"TRY",
280280
"EXCEPT",
281+
"FINALLY",
281282
"WHILE",
282283
]:
283284
self.stop_stack_len += 1
@@ -318,6 +319,7 @@ def step_out(self, thread_id: int, granularity: Optional[SteppingGranularity] =
318319
"ELSE IF",
319320
"TRY",
320321
"EXCEPT",
322+
"FINALLY",
321323
"WHILE",
322324
]:
323325
self.stop_stack_len -= 1

0 commit comments

Comments
 (0)