C# Class Mono.Debugger.Soft.Connection

Show file Open project: kumpera/mono

Public Properties

Property Type Description
Version VersionInfo

Private Properties

Property Type Description
ReadCattrs Mono.Debugger.Soft.CattrInfo[]
Receive int
ReceivePacket bool
Send int
SendReceive System.IO.PacketReader
SendReceive System.IO.PacketReader
TypeCodeToElementType ElementType
decode_byte int
decode_command_header Header
decode_id long
decode_int int
decode_long long
decode_short int
encode_byte void
encode_id void
encode_int void
encode_long void

Public Methods

Method Description
Array_GetLength ( long id, int &rank, int &lower_bounds ) : int[]
Array_GetValues ( long id, int index, int len ) : Mono.Debugger.Soft.ValueImpl[]
Array_SetValues ( long id, int index, ValueImpl values ) : void
Assembly_GetEntryPoint ( long id ) : long
Assembly_GetLocation ( long id ) : string
Assembly_GetManifestModule ( long id ) : long
Assembly_GetName ( long id ) : string
Assembly_GetObject ( long id ) : long
Assembly_GetType ( long id, string name, bool ignoreCase ) : long
ClearAllBreakpoints ( ) : void
ClearEventRequest ( EventType etype, int req_id ) : void
Close ( ) : void
Connect ( ) : void
Connection ( Socket socket ) : System
Domain_CreateBoxedValue ( long id, long type_id, ValueImpl v ) : long
Domain_CreateString ( long id, string s ) : long
Domain_GetAssemblies ( long id ) : long[]
Domain_GetCorlib ( long id ) : long
Domain_GetEntryAssembly ( long id ) : long
Domain_GetName ( long id ) : string
EnableEvent ( EventType etype, SuspendPolicy suspend_policy, List mods ) : int
EncodePacket ( int id, int commandSet, int command, byte data, int dataLen ) : byte[]
GetPacketId ( byte packet ) : int
GetPacketLength ( byte header ) : int
IsReplyPacket ( byte packet ) : bool
Method_GetBody ( long id ) : MethodBodyInfo
Method_GetDebugInfo ( long id ) : DebugInfo
Method_GetDeclaringType ( long id ) : long
Method_GetInfo ( long id ) : MethodInfo
Method_GetLocalsInfo ( long id ) : LocalsInfo
Method_GetName ( long id ) : string
Method_GetParamInfo ( long id ) : ParamInfo
Method_ResolveToken ( long id, int token ) : ResolvedToken
Module_GetInfo ( long id ) : ModuleInfo
Object_GetAddress ( long id ) : long
Object_GetDomain ( long id ) : long
Object_GetType ( long id ) : long
Object_GetValues ( long id, long fields ) : Mono.Debugger.Soft.ValueImpl[]
Object_IsCollected ( long id ) : bool
Object_SetValues ( long id, long fields, ValueImpl values ) : void
ReadPacket ( ) : byte[]
StackFrame_GetThis ( long thread_id, long id ) : ValueImpl
StackFrame_GetValues ( long thread_id, long id, int pos ) : Mono.Debugger.Soft.ValueImpl[]
StackFrame_SetValues ( long thread_id, long id, int pos, ValueImpl values ) : void
String_GetValue ( long id ) : string
Thread_GetFrameInfo ( long id, int start_frame, int length ) : Mono.Debugger.Soft.FrameInfo[]
Thread_GetId ( long id ) : long
Thread_GetInfo ( long id ) : ThreadInfo
Thread_GetName ( long id ) : string
Thread_GetState ( long id ) : int
Thread_GetTID ( long id ) : long
Type_GetCustomAttributes ( long id, long attr_type_id, bool inherit ) : Mono.Debugger.Soft.CattrInfo[]
Type_GetFieldCustomAttributes ( long id, long field_id, long attr_type_id, bool inherit ) : Mono.Debugger.Soft.CattrInfo[]
Type_GetFields ( long id, string &names, long &types, int &attrs ) : long[]
Type_GetInfo ( long id ) : TypeInfo
Type_GetMethods ( long id ) : long[]
Type_GetObject ( long id ) : long
Type_GetProperties ( long id ) : Mono.Debugger.Soft.PropInfo[]
Type_GetPropertyCustomAttributes ( long id, long field_id, long attr_type_id, bool inherit ) : Mono.Debugger.Soft.CattrInfo[]
Type_GetSourceFiles ( long id, bool return_full_paths ) : string[]
Type_GetValues ( long id, long fields, long thread_id ) : Mono.Debugger.Soft.ValueImpl[]
Type_IsAssignableFrom ( long id, long c_id ) : bool
Type_SetValues ( long id, long fields, ValueImpl values ) : void
VM_AbortInvoke ( long thread, int id ) : void
VM_BeginInvokeMethod ( long thread, long method, ValueImpl this_arg, ValueImpl arguments, InvokeFlags flags, InvokeMethodCallback callback, object state ) : int
VM_Dispose ( ) : void
VM_Exit ( int exitCode ) : void
VM_GetThreads ( ) : long[]
VM_GetVersion ( ) : VersionInfo
VM_InvokeMethod ( long thread, long method, ValueImpl this_arg, ValueImpl arguments, InvokeFlags flags, ValueImpl &exc ) : ValueImpl
VM_Resume ( ) : void
VM_SetProtocolVersion ( int major, int minor ) : void
VM_Suspend ( ) : void
WritePacket ( byte packet ) : void
decode_suspend_policy ( int suspend_policy ) : SuspendPolicy
receiver_thread_main ( ) : void

Private Methods

Method Description
ReadCattrs ( System.IO.PacketReader r ) : Mono.Debugger.Soft.CattrInfo[]
Receive ( byte buf, int buf_offset, int len ) : int
ReceivePacket ( ) : bool
Send ( CommandSet command_set, int command, System.IO.PacketWriter packet, Action cb ) : int
SendReceive ( CommandSet command_set, int command ) : System.IO.PacketReader
SendReceive ( CommandSet command_set, int command, System.IO.PacketWriter packet ) : System.IO.PacketReader
TypeCodeToElementType ( TypeCode c ) : ElementType
decode_byte ( byte packet, int &offset ) : int
decode_command_header ( byte packet ) : Header
decode_id ( byte packet, int &offset ) : long
decode_int ( byte packet, int &offset ) : int
decode_long ( byte packet, int &offset ) : long
decode_short ( byte packet, int &offset ) : int
encode_byte ( byte buf, int b, int &offset ) : void
encode_id ( byte buf, long id, int &offset ) : void
encode_int ( byte buf, int i, int &offset ) : void
encode_long ( byte buf, long l, int &offset ) : void

Method Details

Array_GetLength() public method

public Array_GetLength ( long id, int &rank, int &lower_bounds ) : int[]
id long
rank int
lower_bounds int
return int[]

Array_GetValues() public method

public Array_GetValues ( long id, int index, int len ) : Mono.Debugger.Soft.ValueImpl[]
id long
index int
len int
return Mono.Debugger.Soft.ValueImpl[]

Array_SetValues() public method

public Array_SetValues ( long id, int index, ValueImpl values ) : void
id long
index int
values ValueImpl
return void

Assembly_GetEntryPoint() public method

public Assembly_GetEntryPoint ( long id ) : long
id long
return long

Assembly_GetLocation() public method

public Assembly_GetLocation ( long id ) : string
id long
return string

Assembly_GetManifestModule() public method

public Assembly_GetManifestModule ( long id ) : long
id long
return long

Assembly_GetName() public method

public Assembly_GetName ( long id ) : string
id long
return string

Assembly_GetObject() public method

public Assembly_GetObject ( long id ) : long
id long
return long

Assembly_GetType() public method

public Assembly_GetType ( long id, string name, bool ignoreCase ) : long
id long
name string
ignoreCase bool
return long

ClearAllBreakpoints() public method

public ClearAllBreakpoints ( ) : void
return void

ClearEventRequest() public method

public ClearEventRequest ( EventType etype, int req_id ) : void
etype EventType
req_id int
return void

Close() public method

public Close ( ) : void
return void

Connect() public method

public Connect ( ) : void
return void

Connection() public method

public Connection ( Socket socket ) : System
socket Socket
return System

Domain_CreateBoxedValue() public method

public Domain_CreateBoxedValue ( long id, long type_id, ValueImpl v ) : long
id long
type_id long
v ValueImpl
return long

Domain_CreateString() public method

public Domain_CreateString ( long id, string s ) : long
id long
s string
return long

Domain_GetAssemblies() public method

public Domain_GetAssemblies ( long id ) : long[]
id long
return long[]

Domain_GetCorlib() public method

public Domain_GetCorlib ( long id ) : long
id long
return long

Domain_GetEntryAssembly() public method

public Domain_GetEntryAssembly ( long id ) : long
id long
return long

Domain_GetName() public method

public Domain_GetName ( long id ) : string
id long
return string

EnableEvent() public method

public EnableEvent ( EventType etype, SuspendPolicy suspend_policy, List mods ) : int
etype EventType
suspend_policy SuspendPolicy
mods List
return int

EncodePacket() public static method

public static EncodePacket ( int id, int commandSet, int command, byte data, int dataLen ) : byte[]
id int
commandSet int
command int
data byte
dataLen int
return byte[]

GetPacketId() public static method

public static GetPacketId ( byte packet ) : int
packet byte
return int

GetPacketLength() public static method

public static GetPacketLength ( byte header ) : int
header byte
return int

IsReplyPacket() public static method

public static IsReplyPacket ( byte packet ) : bool
packet byte
return bool

Method_GetBody() public method

public Method_GetBody ( long id ) : MethodBodyInfo
id long
return MethodBodyInfo

Method_GetDebugInfo() public method

public Method_GetDebugInfo ( long id ) : DebugInfo
id long
return DebugInfo

Method_GetDeclaringType() public method

public Method_GetDeclaringType ( long id ) : long
id long
return long

Method_GetInfo() public method

public Method_GetInfo ( long id ) : MethodInfo
id long
return MethodInfo

Method_GetLocalsInfo() public method

public Method_GetLocalsInfo ( long id ) : LocalsInfo
id long
return LocalsInfo

Method_GetName() public method

public Method_GetName ( long id ) : string
id long
return string

Method_GetParamInfo() public method

public Method_GetParamInfo ( long id ) : ParamInfo
id long
return ParamInfo

Method_ResolveToken() public method

public Method_ResolveToken ( long id, int token ) : ResolvedToken
id long
token int
return ResolvedToken

Module_GetInfo() public method

public Module_GetInfo ( long id ) : ModuleInfo
id long
return ModuleInfo

Object_GetAddress() public method

public Object_GetAddress ( long id ) : long
id long
return long

Object_GetDomain() public method

public Object_GetDomain ( long id ) : long
id long
return long

Object_GetType() public method

public Object_GetType ( long id ) : long
id long
return long

Object_GetValues() public method

public Object_GetValues ( long id, long fields ) : Mono.Debugger.Soft.ValueImpl[]
id long
fields long
return Mono.Debugger.Soft.ValueImpl[]

Object_IsCollected() public method

public Object_IsCollected ( long id ) : bool
id long
return bool

Object_SetValues() public method

public Object_SetValues ( long id, long fields, ValueImpl values ) : void
id long
fields long
values ValueImpl
return void

ReadPacket() public method

public ReadPacket ( ) : byte[]
return byte[]

StackFrame_GetThis() public method

public StackFrame_GetThis ( long thread_id, long id ) : ValueImpl
thread_id long
id long
return ValueImpl

StackFrame_GetValues() public method

public StackFrame_GetValues ( long thread_id, long id, int pos ) : Mono.Debugger.Soft.ValueImpl[]
thread_id long
id long
pos int
return Mono.Debugger.Soft.ValueImpl[]

StackFrame_SetValues() public method

public StackFrame_SetValues ( long thread_id, long id, int pos, ValueImpl values ) : void
thread_id long
id long
pos int
values ValueImpl
return void

String_GetValue() public method

public String_GetValue ( long id ) : string
id long
return string

Thread_GetFrameInfo() public method

public Thread_GetFrameInfo ( long id, int start_frame, int length ) : Mono.Debugger.Soft.FrameInfo[]
id long
start_frame int
length int
return Mono.Debugger.Soft.FrameInfo[]

Thread_GetId() public method

public Thread_GetId ( long id ) : long
id long
return long

Thread_GetInfo() public method

public Thread_GetInfo ( long id ) : ThreadInfo
id long
return ThreadInfo

Thread_GetName() public method

public Thread_GetName ( long id ) : string
id long
return string

Thread_GetState() public method

public Thread_GetState ( long id ) : int
id long
return int

Thread_GetTID() public method

public Thread_GetTID ( long id ) : long
id long
return long

Type_GetCustomAttributes() public method

public Type_GetCustomAttributes ( long id, long attr_type_id, bool inherit ) : Mono.Debugger.Soft.CattrInfo[]
id long
attr_type_id long
inherit bool
return Mono.Debugger.Soft.CattrInfo[]

Type_GetFieldCustomAttributes() public method

public Type_GetFieldCustomAttributes ( long id, long field_id, long attr_type_id, bool inherit ) : Mono.Debugger.Soft.CattrInfo[]
id long
field_id long
attr_type_id long
inherit bool
return Mono.Debugger.Soft.CattrInfo[]

Type_GetFields() public method

public Type_GetFields ( long id, string &names, long &types, int &attrs ) : long[]
id long
names string
types long
attrs int
return long[]

Type_GetInfo() public method

public Type_GetInfo ( long id ) : TypeInfo
id long
return TypeInfo

Type_GetMethods() public method

public Type_GetMethods ( long id ) : long[]
id long
return long[]

Type_GetObject() public method

public Type_GetObject ( long id ) : long
id long
return long

Type_GetProperties() public method

public Type_GetProperties ( long id ) : Mono.Debugger.Soft.PropInfo[]
id long
return Mono.Debugger.Soft.PropInfo[]

Type_GetPropertyCustomAttributes() public method

public Type_GetPropertyCustomAttributes ( long id, long field_id, long attr_type_id, bool inherit ) : Mono.Debugger.Soft.CattrInfo[]
id long
field_id long
attr_type_id long
inherit bool
return Mono.Debugger.Soft.CattrInfo[]

Type_GetSourceFiles() public method

public Type_GetSourceFiles ( long id, bool return_full_paths ) : string[]
id long
return_full_paths bool
return string[]

Type_GetValues() public method

public Type_GetValues ( long id, long fields, long thread_id ) : Mono.Debugger.Soft.ValueImpl[]
id long
fields long
thread_id long
return Mono.Debugger.Soft.ValueImpl[]

Type_IsAssignableFrom() public method

public Type_IsAssignableFrom ( long id, long c_id ) : bool
id long
c_id long
return bool

Type_SetValues() public method

public Type_SetValues ( long id, long fields, ValueImpl values ) : void
id long
fields long
values ValueImpl
return void

VM_AbortInvoke() public method

public VM_AbortInvoke ( long thread, int id ) : void
thread long
id int
return void

VM_BeginInvokeMethod() public method

public VM_BeginInvokeMethod ( long thread, long method, ValueImpl this_arg, ValueImpl arguments, InvokeFlags flags, InvokeMethodCallback callback, object state ) : int
thread long
method long
this_arg ValueImpl
arguments ValueImpl
flags InvokeFlags
callback InvokeMethodCallback
state object
return int

VM_Dispose() public method

public VM_Dispose ( ) : void
return void

VM_Exit() public method

public VM_Exit ( int exitCode ) : void
exitCode int
return void

VM_GetThreads() public method

public VM_GetThreads ( ) : long[]
return long[]

VM_GetVersion() public method

public VM_GetVersion ( ) : VersionInfo
return VersionInfo

VM_InvokeMethod() public method

public VM_InvokeMethod ( long thread, long method, ValueImpl this_arg, ValueImpl arguments, InvokeFlags flags, ValueImpl &exc ) : ValueImpl
thread long
method long
this_arg ValueImpl
arguments ValueImpl
flags InvokeFlags
exc ValueImpl
return ValueImpl

VM_Resume() public method

public VM_Resume ( ) : void
return void

VM_SetProtocolVersion() public method

public VM_SetProtocolVersion ( int major, int minor ) : void
major int
minor int
return void

VM_Suspend() public method

public VM_Suspend ( ) : void
return void

WritePacket() public method

public WritePacket ( byte packet ) : void
packet byte
return void

decode_suspend_policy() public static method

public static decode_suspend_policy ( int suspend_policy ) : SuspendPolicy
suspend_policy int
return SuspendPolicy

receiver_thread_main() public method

public receiver_thread_main ( ) : void
return void

Property Details

Version public property

public VersionInfo,Mono.Debugger.Soft Version
return VersionInfo