C# Class LLDB.AttachInfo

Inheritance: IDisposable
Afficher le fichier Open project: tritao/LLDBSharp Class Usage Examples

Méthodes publiques

Свойство Type Description
NativeToManagedMap AttachInfo>.System.Collections.Concurrent.ConcurrentDictionary

Protected Properties

Свойство Type Description
__OriginalVTables void*[]
__PointerAdjustment int
__ownsNativeInstance bool

Méthodes publiques

Méthode Description
AttachInfo ( ) : System
AttachInfo ( LLDB rhs ) : System
AttachInfo ( string path, bool wait_for ) : System

Attach to a process by name.

This function implies that a future call to SBTarget::Attach(...)

will be synchronous.

AttachInfo ( string path, bool wait_for, bool async ) : System

Attach to a process by name.

Future calls to SBTarget::Attach(...) will be synchronous or

asynchronous depending on the

argument.

AttachInfo ( ulong pid ) : System
Dispose ( ) : void
EffectiveGroupIDIsValid ( ) : bool
EffectiveUserIDIsValid ( ) : bool
GetListener ( ) : LLDB.Listener

Get the listener that will be used to receive process events.

If no listener has been set via a call to

SBLaunchInfo::SetListener(), then an invalid SBListener will be

returned (SBListener::IsValid() will return false). If a listener

has been set, then the valid listener object will be returned.

GroupIDIsValid ( ) : bool
ParentProcessIDIsValid ( ) : bool
SetExecutable ( LLDB exe_file ) : void
SetExecutable ( string path ) : void
SetWaitForLaunch ( bool b, bool async ) : void

Set attach by process name settings.

Designed to be used after a call to SBAttachInfo::SetExecutable().

Future calls to SBTarget::Attach(...) will be synchronous or

asynchronous depending on the

argument.

UserIDIsValid ( ) : bool
__CreateInstance ( AttachInfo native, bool skipVTables = false ) : AttachInfo
__CreateInstance ( global native, bool skipVTables = false ) : AttachInfo

Méthodes protégées

Méthode Description
AttachInfo ( void native, bool skipVTables = false ) : System
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
AttachInfo ( AttachInfo native, bool skipVTables = false ) : System
__CopyValue ( AttachInfo native ) : void*

Method Details

AttachInfo() public méthode

public AttachInfo ( ) : System
Résultat System

AttachInfo() public méthode

public AttachInfo ( LLDB rhs ) : System
rhs LLDB
Résultat System

AttachInfo() public méthode

Attach to a process by name.

This function implies that a future call to SBTarget::Attach(...)

will be synchronous.

public AttachInfo ( string path, bool wait_for ) : System
path string /// A full or partial name for the process to attach to. ///
wait_for bool /// If /// attach to an existing process whose name matches. /// If /// then wait for the next process whose name matches. ///
Résultat System

AttachInfo() public méthode

Attach to a process by name.

Future calls to SBTarget::Attach(...) will be synchronous or

asynchronous depending on the

argument.

public AttachInfo ( string path, bool wait_for, bool async ) : System
path string /// A full or partial name for the process to attach to. ///
wait_for bool /// If /// attach to an existing process whose name matches. /// If /// then wait for the next process whose name matches. ///
async bool /// If /// then the SBTarget::Attach(...) call will be a /// synchronous call with no way to cancel the attach in /// progress. /// If /// then the SBTarget::Attach(...) function will /// return immediately and clients are expected to wait for a /// process eStateStopped event if a suitable process is /// eventually found. If the client wants to cancel the event, /// SBProcess::Stop() can be called and an eStateExited process /// event will be delivered. ///
Résultat System

AttachInfo() public méthode

public AttachInfo ( ulong pid ) : System
pid ulong
Résultat System

AttachInfo() protected méthode

protected AttachInfo ( void native, bool skipVTables = false ) : System
native void
skipVTables bool
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

EffectiveGroupIDIsValid() public méthode

public EffectiveGroupIDIsValid ( ) : bool
Résultat bool

EffectiveUserIDIsValid() public méthode

public EffectiveUserIDIsValid ( ) : bool
Résultat bool

GetListener() public méthode

Get the listener that will be used to receive process events.

If no listener has been set via a call to

SBLaunchInfo::SetListener(), then an invalid SBListener will be

returned (SBListener::IsValid() will return false). If a listener

has been set, then the valid listener object will be returned.

public GetListener ( ) : LLDB.Listener
Résultat LLDB.Listener

GroupIDIsValid() public méthode

public GroupIDIsValid ( ) : bool
Résultat bool

ParentProcessIDIsValid() public méthode

public ParentProcessIDIsValid ( ) : bool
Résultat bool

SetExecutable() public méthode

public SetExecutable ( LLDB exe_file ) : void
exe_file LLDB
Résultat void

SetExecutable() public méthode

public SetExecutable ( string path ) : void
path string
Résultat void

SetWaitForLaunch() public méthode

Set attach by process name settings.

Designed to be used after a call to SBAttachInfo::SetExecutable().

Future calls to SBTarget::Attach(...) will be synchronous or

asynchronous depending on the

argument.

public SetWaitForLaunch ( bool b, bool async ) : void
b bool
async bool /// If /// then the SBTarget::Attach(...) call will be a /// synchronous call with no way to cancel the attach in /// progress. /// If /// then the SBTarget::Attach(...) function will /// return immediately and clients are expected to wait for a /// process eStateStopped event if a suitable process is /// eventually found. If the client wants to cancel the event, /// SBProcess::Stop() can be called and an eStateExited process /// event will be delivered. ///
Résultat void

UserIDIsValid() public méthode

public UserIDIsValid ( ) : bool
Résultat bool

__CreateInstance() public static méthode

public static __CreateInstance ( AttachInfo native, bool skipVTables = false ) : AttachInfo
native AttachInfo
skipVTables bool
Résultat AttachInfo

__CreateInstance() public static méthode

public static __CreateInstance ( global native, bool skipVTables = false ) : AttachInfo
native global
skipVTables bool
Résultat AttachInfo

Property Details

NativeToManagedMap public_oe static_oe property

public static System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap
Résultat AttachInfo>.System.Collections.Concurrent.ConcurrentDictionary

__OriginalVTables protected_oe property

protected void*[] __OriginalVTables
Résultat void*[]

__PointerAdjustment protected_oe property

protected int __PointerAdjustment
Résultat int

__ownsNativeInstance protected_oe property

protected bool __ownsNativeInstance
Résultat bool