@@ -197,7 +197,9 @@ def _build_bp_ranges(self):
197
197
self ._bp_ranges .append (bpr )
198
198
if "DexStepFunction" in commands :
199
199
for c in commands ["DexStepFunction" ]:
200
- bpr = BreakpointRange .step_function (c .get_function (), c .path , c .hit_count )
200
+ bpr = BreakpointRange .step_function (
201
+ c .get_function (), c .path , c .hit_count
202
+ )
201
203
self ._bp_ranges .append (bpr )
202
204
203
205
def _set_leading_bps (self ):
@@ -336,14 +338,10 @@ def _run_debugger_custom(self, cmdline):
336
338
337
339
debugger_next = False
338
340
debugger_out = False
339
- if (
340
- not debugger_continue
341
- and step_info .current_frame
342
- and step_info .frames
343
- ):
341
+ if not debugger_continue and step_info .current_frame and step_info .frames :
344
342
while len (step_function_backtraces ) > 0 :
345
- match_subtrace = False # Backtrace contains a target trace.
346
- match_trace = False # Backtrace matches top of target stack.
343
+ match_subtrace = False # Backtrace contains a target trace.
344
+ match_trace = False # Backtrace matches top of target stack.
347
345
if len (backtrace ) >= len (step_function_backtraces [- 1 ]):
348
346
match_subtrace = True
349
347
match_trace = len (backtrace ) == len (
@@ -372,7 +370,6 @@ def _run_debugger_custom(self, cmdline):
372
370
# there are no longer reachable.
373
371
step_function_backtraces .pop ()
374
372
375
-
376
373
if log_step and step_info .current_frame :
377
374
# Record the step.
378
375
update_step_watches (
0 commit comments