Packagecom.ericfeminella.debugger
Classpublic final class LocalDebugger

Creates a connection to the FlexDebuggerConsole and manages messaging between the console and LocalDebugger trace(); and send(); invocation



Public Methods
 MethodDefined by
  
allowConnection(allow:Boolean = false):void
[static] Terminates / allows all connections to LocalDebugger
LocalDebugger
  
connected():Boolean
[static] Determines if a connection to LocalDebugger is established
LocalDebugger
  
send(obj:*):void
[static] Handles tracing objects to the console output window.
LocalDebugger
  
show(message:*):void
[static] Displays a message in an mx.controls.Alert window
LocalDebugger
  
trace(obj:*):void
[static] Handles recursively tracing objects to the console output window.
LocalDebugger
Method detail
allowConnection()method
public static function allowConnection(allow:Boolean = false):void

Terminates / allows all connections to LocalDebugger

Parameters
allow:Boolean (default = false) — if the connection is to be allowed
connected()method 
public static function connected():Boolean

Determines if a connection to LocalDebugger is established

Returns
Boolean — specifies if the connection is established
send()method 
public static function send(obj:*):void

Handles tracing objects to the console output window.

Parameters
obj:* — object to trace to the console
show()method 
public static function show(message:*):void

Displays a message in an mx.controls.Alert window

Parameters
message:* — message to display in an Alert window
trace()method 
public static function trace(obj:*):void

Handles recursively tracing objects to the console output window.

If the object is of simple type the object will be sent directly to the console window. If the object is of complex type, it will be passed to LocalDebuggerTraceHelper to recursively trace all elements of the object

Parameters
obj:* — object to trace to the console