Packagesystem.diagnostics
Classpublic class _VirtualMachine
Inheritance_VirtualMachine Inheritance Object

The internal VirtualMachine class.



Public Properties
 PropertyDefined By
  filteredMethods : Array
Indicates the list of the filtered methods.
_VirtualMachine
  filterMethods : Boolean = true
Indicates if the machine filter the methods.
_VirtualMachine
  formatter : String = * {method}({args})
Indicates the formatter pattern.
_VirtualMachine
  showPackages : Boolean = true
Indicates if show the packages.
_VirtualMachine
  version : String
[read-only] The Virtual Machine version
_VirtualMachine
Public Methods
 MethodDefined By
  
_VirtualMachine(listener:Function = null)
Creates a new VirtualMachine instance.
_VirtualMachine
  
beginTrace():void
Insert in the console the header (begin trace).
_VirtualMachine
  
endTrace():void
Insert in the console the footer (begin trace).
_VirtualMachine
  
Force the garbage collection on the Virtual Machine
_VirtualMachine
  
isTracing():Boolean
Indicates if we are tracing.
_VirtualMachine
  
traceListener(line:String, index:int, method:String, args:String):void
Trace the messages in the console.
_VirtualMachine
Property Detail
filteredMethodsproperty
public var filteredMethods:Array

Indicates the list of the filtered methods.

filterMethodsproperty 
public var filterMethods:Boolean = true

Indicates if the machine filter the methods.

formatterproperty 
public var formatter:String = * {method}({args})

Indicates the formatter pattern.

showPackagesproperty 
public var showPackages:Boolean = true

Indicates if show the packages.

versionproperty 
version:String  [read-only]

The Virtual Machine version


Implementation
    public function get version():String
Constructor Detail
_VirtualMachine()Constructor
public function _VirtualMachine(listener:Function = null)

Creates a new VirtualMachine instance.

Parameters
listener:Function (default = null) — The callback listener function use to dispatch the messages.
Method Detail
beginTrace()method
public function beginTrace():void

Insert in the console the header (begin trace).

endTrace()method 
public function endTrace():void

Insert in the console the footer (begin trace).

garbageCollection()method 
public function garbageCollection():void

Force the garbage collection on the Virtual Machine

isTracing()method 
public function isTracing():Boolean

Indicates if we are tracing.

Returns
Boolean
traceListener()method 
public function traceListener(line:String, index:int, method:String, args:String):void

Trace the messages in the console.

Parameters

line:String
 
index:int
 
method:String
 
args:String