diff options
| author | Kuba Mracek <mracek@apple.com> | 2017-07-13 04:35:27 +0000 |
|---|---|---|
| committer | Kuba Mracek <mracek@apple.com> | 2017-07-13 04:35:27 +0000 |
| commit | b244c2bafea6c31bdbab4446f941b2c3f61778d7 (patch) | |
| tree | 341132762f2c97e4d0d7570781e9d50ee26304dc /lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker | |
| parent | 7876f2d34c3093c89eebe450a5958c0ddec7151b (diff) | |
Upstreaming a patch from Github: When evaluation user expressions, ignore InstrumentationRuntime breakpoints. (#235)
llvm-svn: 307881
Diffstat (limited to 'lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker')
| -rw-r--r-- | lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp b/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp index 2ed70797ca15..eb238419ab18 100644 --- a/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp +++ b/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp @@ -163,6 +163,9 @@ bool MainThreadCheckerRuntime::NotifyBreakpointHit( process_sp != context->exe_ctx_ref.GetProcessSP()) return false; + if (process_sp->GetModIDRef().IsLastResumeForUserExpression()) + return false; + StructuredData::ObjectSP report = instance->RetrieveReportData(context->exe_ctx_ref); |
