@@ -197,7 +197,9 @@ def _build_bp_ranges(self):
197197 self ._bp_ranges .append (bpr )
198198 if "DexStepFunction" in commands :
199199 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+ )
201203 self ._bp_ranges .append (bpr )
202204
203205 def _set_leading_bps (self ):
@@ -336,14 +338,10 @@ def _run_debugger_custom(self, cmdline):
336338
337339 debugger_next = False
338340 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 :
344342 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.
347345 if len (backtrace ) >= len (step_function_backtraces [- 1 ]):
348346 match_subtrace = True
349347 match_trace = len (backtrace ) == len (
@@ -372,7 +370,6 @@ def _run_debugger_custom(self, cmdline):
372370 # there are no longer reachable.
373371 step_function_backtraces .pop ()
374372
375-
376373 if log_step and step_info .current_frame :
377374 # Record the step.
378375 update_step_watches (
0 commit comments