summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBThread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBThread.cpp')
-rw-r--r--lldb/source/API/SBThread.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/API/SBThread.cpp b/lldb/source/API/SBThread.cpp
index 4170d5b230b..66f9df3b13c 100644
--- a/lldb/source/API/SBThread.cpp
+++ b/lldb/source/API/SBThread.cpp
@@ -1330,6 +1330,10 @@ SBThread::GetExtendedBacktraceThread (const char *type)
}
}
+ if (log && sb_origin_thread.IsValid() == false)
+ {
+ log->Printf("SBThread(%p)::GetExtendedBacktraceThread() is not returning a Valid thread", exe_ctx.GetThreadPtr());
+ }
return sb_origin_thread;
}
OpenPOWER on IntegriCloud