Property | Type | Description | |
---|---|---|---|
NativeToManagedMap | Thread>.System.Collections.Concurrent.ConcurrentDictionary |
Property | Type | Description | |
---|---|---|---|
__OriginalVTables | void*[] | ||
__PointerAdjustment | int | ||
__ownsNativeInstance | bool |
Method | Description | |
---|---|---|
Clear ( ) : void | ||
Dispose ( ) : void | ||
Equals ( object obj ) : bool | ||
EventIsThreadEvent ( LLDB @event ) : bool | ||
GetDescription ( LLDB description ) : bool | ||
GetExtendedBacktraceThread ( string type ) : LLDB.Thread | ||
GetFrameAtIndex ( uint idx ) : LLDB.Frame | ||
GetHashCode ( ) : int | ||
GetInfoItemByPathAsString ( string path, LLDB strm ) : bool | ||
GetProcess ( ) : LLDB.Process | ||
GetQueue ( ) : LLDB.Queue | ||
GetSelectedFrame ( ) : LLDB.Frame | ||
GetStackFrameFromEvent ( LLDB @event ) : LLDB.Frame | ||
GetStatus ( LLDB status ) : bool | ||
GetStopDescription ( sbyte dst, uint dst_len ) : uint | ||
GetStopReasonDataAtIndex ( uint idx ) : ulong |
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 eStopReasonPlanComplete 0 |
|
GetStopReasonExtendedBacktraces ( LLDB type ) : LLDB.ThreadCollection | ||
GetStopReasonExtendedInfoAsJSON ( LLDB stream ) : bool | ||
GetStopReturnValue ( ) : LLDB.Value | ||
GetThreadFromEvent ( LLDB @event ) : LLDB.Thread | ||
IsStopped ( ) : bool | ||
IsSuspended ( ) : bool | ||
IsValid ( ) : bool | ||
JumpToLine ( LLDB file_spec, uint line ) : LLDB.Error | ||
Resume ( ) : bool | ||
ReturnFromFrame ( LLDB frame, LLDB return_value ) : LLDB.Error | ||
RunToAddress ( ulong addr ) : void | ||
SafeToCallFunctions ( ) : bool | ||
SetSelectedFrame ( uint frame_idx ) : LLDB.Frame | ||
StepInstruction ( bool step_over ) : void | ||
StepInto ( LLDB stop_other_threads ) : void | ||
StepInto ( string target_name, LLDB stop_other_threads ) : void | ||
StepInto ( string target_name, uint end_line, LLDB error, LLDB stop_other_threads ) : void | ||
StepOut ( ) : void | ||
StepOutOfFrame ( LLDB frame ) : void | ||
StepOver ( LLDB stop_other_threads ) : void | ||
StepOverUntil ( LLDB frame, LLDB file_spec, uint line ) : LLDB.Error | ||
StepUsingScriptedThreadPlan ( string script_class_name ) : LLDB.Error | ||
Suspend ( ) : bool |
LLDB currently supports process centric debugging which means when any thread in a process stops, all other threads are stopped. The Suspend() call here tells our process to suspend a thread and not let it run when the other threads in a process are allowed to run. So when SBProcess::Continue() is called, any threads that aren't suspended will be allowed to run. If any of the SBThread functions for stepping are called (StepOver, StepInto, StepOut, StepInstruction, RunToAddress), the thread will not be allowed to run and these functions will simply return. Eventually we plan to add support for thread centric debugging where each thread is controlled individually and each thread would broadcast its state, but we haven't implemented this yet. Likewise the SBThread::Resume() call will again allow the thread to run when the process is continued. Suspend() and Resume() functions are not currently reference counted, if anyone has the need for them to be reference counted, please let us know. |
|
Thread ( ) : System | ||
Thread ( LLDB thread ) : System | ||
__CreateInstance ( Thread native, bool skipVTables = false ) : Thread | ||
__CreateInstance ( global native, bool skipVTables = false ) : Thread | ||
operator ( ) : bool |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void | ||
Thread ( void native, bool skipVTables = false ) : System |
Method | Description | |
---|---|---|
Thread ( Thread native, bool skipVTables = false ) : System | ||
__CopyValue ( Thread native ) : void* |
public static EventIsThreadEvent ( LLDB @event ) : bool | ||
@event | LLDB | |
return | bool |
public GetDescription ( LLDB description ) : bool | ||
description | LLDB | |
return | bool |
public GetExtendedBacktraceThread ( string type ) : LLDB.Thread | ||
type | string | |
return | LLDB.Thread |
public GetFrameAtIndex ( uint idx ) : LLDB.Frame | ||
idx | uint | |
return | LLDB.Frame |
public GetInfoItemByPathAsString ( string path, LLDB strm ) : bool | ||
path | string | |
strm | LLDB | |
return | bool |
public static GetStackFrameFromEvent ( LLDB @event ) : LLDB.Frame | ||
@event | LLDB | |
return | LLDB.Frame |
public GetStopDescription ( sbyte dst, uint dst_len ) : uint | ||
dst | sbyte | |
dst_len | uint | |
return | uint |
public GetStopReasonDataAtIndex ( uint idx ) : ulong | ||
idx | uint | |
return | ulong |
public GetStopReasonExtendedBacktraces ( LLDB type ) : LLDB.ThreadCollection | ||
type | LLDB | |
return | LLDB.ThreadCollection |
public GetStopReasonExtendedInfoAsJSON ( LLDB stream ) : bool | ||
stream | LLDB | |
return | bool |
public static GetThreadFromEvent ( LLDB @event ) : LLDB.Thread | ||
@event | LLDB | |
return | LLDB.Thread |
public JumpToLine ( LLDB file_spec, uint line ) : LLDB.Error | ||
file_spec | LLDB | |
line | uint | |
return | LLDB.Error |
public ReturnFromFrame ( LLDB frame, LLDB return_value ) : LLDB.Error | ||
frame | LLDB | |
return_value | LLDB | |
return | LLDB.Error |
public SetSelectedFrame ( uint frame_idx ) : LLDB.Frame | ||
frame_idx | uint | |
return | LLDB.Frame |
public StepInstruction ( bool step_over ) : void | ||
step_over | bool | |
return | void |
public StepInto ( LLDB stop_other_threads ) : void | ||
stop_other_threads | LLDB | |
return | void |
public StepInto ( string target_name, LLDB stop_other_threads ) : void | ||
target_name | string | |
stop_other_threads | LLDB | |
return | void |
public StepInto ( string target_name, uint end_line, LLDB error, LLDB stop_other_threads ) : void | ||
target_name | string | |
end_line | uint | |
error | LLDB | |
stop_other_threads | LLDB | |
return | void |
public StepOver ( LLDB stop_other_threads ) : void | ||
stop_other_threads | LLDB | |
return | void |
public StepOverUntil ( LLDB frame, LLDB file_spec, uint line ) : LLDB.Error | ||
frame | LLDB | |
file_spec | LLDB | |
line | uint | |
return | LLDB.Error |
public StepUsingScriptedThreadPlan ( string script_class_name ) : LLDB.Error | ||
script_class_name | string | |
return | LLDB.Error |
protected Thread ( void native, bool skipVTables = false ) : System | ||
native | void | |
skipVTables | bool | |
return | System |
public static __CreateInstance ( Thread native, bool skipVTables = false ) : Thread | ||
native | Thread | |
skipVTables | bool | |
return | Thread |
public static __CreateInstance ( global native, bool skipVTables = false ) : Thread | ||
native | global | |
skipVTables | bool | |
return | Thread |
public static System.Collections.Concurrent.ConcurrentDictionary |
||
return | Thread>.System.Collections.Concurrent.ConcurrentDictionary |