xref: /freebsd/contrib/llvm-project/lldb/bindings/interface/SBExpressionOptionsDocstrings.i (revision 1719886f6d08408b834d270c59ffcfd821c8f63a)
1 %feature("docstring",
2 "A container for options to use when evaluating expressions."
3 ) lldb::SBExpressionOptions;
4 
5 %feature("docstring", "Sets whether to coerce the expression result to ObjC id type after evaluation."
6 ) lldb::SBExpressionOptions::SetCoerceResultToId;
7 
8 %feature("docstring", "Sets whether to unwind the expression stack on error."
9 ) lldb::SBExpressionOptions::SetUnwindOnError;
10 
11 %feature("docstring", "Sets whether to ignore breakpoint hits while running expressions."
12 ) lldb::SBExpressionOptions::SetIgnoreBreakpoints;
13 
14 %feature("docstring", "Sets whether to cast the expression result to its dynamic type."
15 ) lldb::SBExpressionOptions::SetFetchDynamicValue;
16 
17 %feature("docstring", "Sets the timeout in microseconds to run the expression for. If try all threads is set to true and the expression doesn't complete within the specified timeout, all threads will be resumed for the same timeout to see if the expression will finish."
18 ) lldb::SBExpressionOptions::SetTimeoutInMicroSeconds;
19 
20 %feature("docstring", "Sets the timeout in microseconds to run the expression on one thread before either timing out or trying all threads."
21 ) lldb::SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds;
22 
23 %feature("docstring", "Sets whether to run all threads if the expression does not complete on one thread."
24 ) lldb::SBExpressionOptions::SetTryAllThreads;
25 
26 %feature("docstring", "Sets whether to stop other threads at all while running expressions.  If false, TryAllThreads does nothing."
27 ) lldb::SBExpressionOptions::SetStopOthers;
28 
29 %feature("docstring", "Sets whether to abort expression evaluation if an exception is thrown while executing.  Don't set this to false unless you know the function you are calling traps all exceptions itself."
30 ) lldb::SBExpressionOptions::SetTrapExceptions;
31 
32 %feature ("docstring", "Sets the language that LLDB should assume the expression is written in"
33 ) lldb::SBExpressionOptions::SetLanguage;
34 
35 %feature("docstring", "Sets whether to generate debug information for the expression and also controls if a SBModule is generated."
36 ) lldb::SBExpressionOptions::SetGenerateDebugInfo;
37 
38 %feature("docstring", "Sets whether to produce a persistent result that can be used in future expressions."
39 ) lldb::SBExpressionOptions::SetSuppressPersistentResult;
40 
41 %feature("docstring", "Gets the prefix to use for this expression."
42 ) lldb::SBExpressionOptions::GetPrefix;
43 
44 %feature("docstring", "Sets the prefix to use for this expression. This prefix gets inserted after the 'target.expr-prefix' prefix contents, but before the wrapped expression function body."
45 ) lldb::SBExpressionOptions::SetPrefix;
46 
47 %feature("docstring", "Sets whether to auto-apply fix-it hints to the expression being evaluated."
48 ) lldb::SBExpressionOptions::SetAutoApplyFixIts;
49 
50 %feature("docstring", "Gets whether to auto-apply fix-it hints to an expression."
51 ) lldb::SBExpressionOptions::GetAutoApplyFixIts;
52 
53 %feature("docstring", "Sets how often LLDB should retry applying fix-its to an expression."
54 ) lldb::SBExpressionOptions::SetRetriesWithFixIts;
55 
56 %feature("docstring", "Gets how often LLDB will retry applying fix-its to an expression."
57 ) lldb::SBExpressionOptions::GetRetriesWithFixIts;
58 
59 %feature("docstring", "Gets whether to JIT an expression if it cannot be interpreted."
60 ) lldb::SBExpressionOptions::GetAllowJIT;
61 
62 %feature("docstring", "Sets whether to JIT an expression if it cannot be interpreted."
63 ) lldb::SBExpressionOptions::SetAllowJIT;
64