Skip to content

Commit

Permalink
testing/esp: speedup test_bp_in_isr
Browse files Browse the repository at this point in the history
  • Loading branch information
sobuch committed Nov 14, 2024
1 parent fbce159 commit 328669c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/esp/py_debug_backend/debug_backend/gdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ def get_backtrace(self, run_bt=False):
# this is a workaround until get a proper fix in the gdb

# we do not check the response, In some cases we may get an error RESULT: error {'msg': 'PC not saved'}
self._mi_cmd_run('bt')
self._mi_cmd_run('bt',tmo=0.1)
res, res_body = self._mi_cmd_run('-stack-list-frames')
if res != 'done' or not res_body or 'stack' not in res_body:
raise DebuggerError('Failed to get backtrace! (%s / %s)' % (res, res_body))
Expand Down

0 comments on commit 328669c

Please sign in to comment.