summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debuginfo-tests/dexter/dex/debugger/DebuggerBase.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/debuginfo-tests/dexter/dex/debugger/DebuggerBase.py b/debuginfo-tests/dexter/dex/debugger/DebuggerBase.py
index 8013ceb6436..57fcad0de42 100644
--- a/debuginfo-tests/dexter/dex/debugger/DebuggerBase.py
+++ b/debuginfo-tests/dexter/dex/debugger/DebuggerBase.py
@@ -153,6 +153,8 @@ class DebuggerBase(object, metaclass=abc.ABCMeta):
def in_source_file(self, step_info):
if not step_info.current_frame:
return False
+ if not step_info.current_location.path:
+ return False
if not os.path.exists(step_info.current_location.path):
return False
return any(os.path.samefile(step_info.current_location.path, f) \
OpenPOWER on IntegriCloud