Increase "process load" timeout
Loading a dynamic library can take quite a long time, since it triggers a number of shared-library-event stops for dependent libraries. This is especially true for remote targets due to communication latency. Increase the default 500ms timeout to account for that. Committing as obvious. llvm-svn: 275185
This commit is contained in:
parent
8001ccd06e
commit
bb5651bd61
|
@ -882,6 +882,7 @@ PlatformPOSIX::EvaluateLibdlExpression(lldb_private::Process* process,
|
||||||
expr_options.SetIgnoreBreakpoints(true);
|
expr_options.SetIgnoreBreakpoints(true);
|
||||||
expr_options.SetExecutionPolicy(eExecutionPolicyAlways);
|
expr_options.SetExecutionPolicy(eExecutionPolicyAlways);
|
||||||
expr_options.SetLanguage(eLanguageTypeC_plus_plus);
|
expr_options.SetLanguage(eLanguageTypeC_plus_plus);
|
||||||
|
expr_options.SetTimeoutUsec(2000000); // 2 seconds
|
||||||
|
|
||||||
Error expr_error;
|
Error expr_error;
|
||||||
UserExpression::Evaluate(exe_ctx,
|
UserExpression::Evaluate(exe_ctx,
|
||||||
|
|
Loading…
Reference in New Issue