DebuggerClient

private class
system.debugger.DebuggerClient

Description

A low level interface to Looms Debugging API. It contains standard features for connecting to the debugger and executing debug commands.

API overview

Constructor

DebuggerClient ()

Attributes

Public attributes

reloaded: ReloadDelegate static

Delegate to call when given the reload command

Functions

Public functions

clearError (): Void static

Clears the Error on the socket

cmdSTEP (): Boolean static

Step command, for now please use "over"

connect ( host: String , port: Number ): Void static

Connects to the Debugger Server service either locally or over TCP/IP

enableReload ( value: Boolean ): Void static

Enable the debugger client's VM reload command

getError ( clear: Boolean = true ): String static

This wrappers around socket error detection, handling, and messaging

receiveFromServer (): String static

Gets a message from the debug Server

sendToServer ( msg: String ): Void static

Send a message to the connected debug Server

update (): Void static

This is generally called from the C++ application code with no need for the client code to be aware of it

Constructor

DebuggerClient ()

Attributes

reloaded: ReloadDelegate

static

Delegate to call when given the reload command.

Functions

clearError (): Void

static

Clears the Error on the socket.



cmdSTEP (): Boolean

static

Step command, for now please use "over".

Returns true on success and false otherwise



connect ( host: String , port: Number ): Void

static

Connects to the Debugger Server service either locally or over TCP/IP.

Parameters

host: String The socket host of the Debugger Server.
port: Number The socket port of the Debugger Server.


enableReload ( value: Boolean ): Void

static

Enable the debugger client's VM reload command. Reload starts disabled to give the application a chance to do base initialization and get to a valid reload state.

Parameters

value: Boolean


getError ( clear: Boolean = true ): String

static

This wrappers around socket error detection, handling, and messaging.

Parameters

clear: Boolean = true


getFullTypeName (): String
Inherited from Object

native

Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.


Returns

String fully qualified type name of the Object.

getType (): Type
Inherited from Object

native

Gets the Type that describes the Object.


Returns

Type The Type that describes the object.

getTypeName (): String
Inherited from Object

native

Gets the type name of the Object.


Returns

String type name of the Object.

receiveFromServer (): String

static

Gets a message from the debug Server.



sendToServer ( msg: String ): Void

static

Send a message to the connected debug Server.

Parameters

msg: String


toString (): String
Inherited from Object

native

Returns a String that describes the Object. This can be overriden to provide extra details when printing objects using trace().


Returns

String String that described the Object.

update (): Void

static

This is generally called from the C++ application code with no need for the client code to be aware of it. However, it is possible to drive the DebuggerClient from script.



: