llvm-project/lldb/bindings/interface/SBThreadPlanDocstrings.i
Alex Langford 662548c826 [lldb] Replace SB swig interfaces with API headers
Instead of maintaining separate swig interface files, we can use the API
headers directly. They implement the exact same C++ APIs and we can
conditionally include the python extensions as needed. To remove the
swig extensions from the API headers when building the LLDB
framework, we can use the unifdef tool when it is available. Otherwise
we just copy them as-is.

Differential Revision: https://reviews.llvm.org/D142926
2023-02-16 11:18:04 -08:00

39 lines
1.5 KiB
OpenEdge ABL

%feature("docstring",
"Represents a plan for the execution control of a given thread.
See also :py:class:`SBThread` and :py:class:`SBFrame`."
) lldb::SBThreadPlan;
%feature("docstring", "
Get the number of words associated with the stop reason.
See also GetStopReasonDataAtIndex()."
) lldb::SBThreadPlan::GetStopReasonDataCount;
%feature("docstring", "
Get information associated with a stop reason.
Breakpoint stop reasons will have data that consists of pairs of
breakpoint IDs followed by the breakpoint location IDs (they always come
in pairs).
Stop Reason Count Data Type
======================== ===== =========================================
eStopReasonNone 0
eStopReasonTrace 0
eStopReasonBreakpoint N duple: {breakpoint id, location id}
eStopReasonWatchpoint 1 watchpoint id
eStopReasonSignal 1 unix signal number
eStopReasonException N exception data
eStopReasonExec 0
eStopReasonFork 1 pid of the child process
eStopReasonVFork 1 pid of the child process
eStopReasonVForkDone 0
eStopReasonPlanComplete 0"
) lldb::SBThreadPlan::GetStopReasonDataAtIndex;
%feature("docstring", "Return whether this plan will ask to stop other threads when it runs."
) lldb::SBThreadPlan::GetStopOthers;
%feature("docstring", "Set whether this plan will ask to stop other threads when it runs."
) lldb::SBThreadPlan::SetStopOthers;