Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,15 @@ def _post_step_hook(self):
if not trace_response["success"]:
raise DebuggerException("failed to get stack frames")
stackframes = trace_response["body"]["stackFrames"]
path = stackframes[0]["source"]["path"]
addr = stackframes[0]["instructionPointerReference"]
try:
path = stackframes[0]["source"]["path"]
except KeyError:
# We may have no path, e.g., if the module hasn't loaded or
# there's no debug info. If that's the case we won't have
# bound a source-location breakpoint here, so we can bail now.
return

if any(
self._debugger_state.bp_addr_map.get(self.dex_id_to_dap_id[dex_bp_id])
== addr
Expand Down
Loading