Packageshell
Classpublic class Diagnostics
InheritanceDiagnostics Inheritance Object

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

The Diagnostics class provide debugging extensions for the VM.

Some methods are hidden the AVM2 namespace, and are provided solely for testing purposes.



Public Methods
 MethodDefined By
 Inherited
_init():*
[static]
_init
  
[static]
Diagnostics
  
AVM-only debugger():void
[static] Enters debugger.
Diagnostics
  
deopt(n:int):void
[static]
Diagnostics
 Inherited
AS3
 Inherited
init():*
[static]
init
  
AVM-only initializeLogging(filename:String):void
[static] Initialize logging to a file.
Diagnostics
  
[static] Tests if the current program is compiled with debugger flags.
Diagnostics
  
[static]
Diagnostics
  
[static]
Diagnostics
 Inherited
AS3
  
AVM-only log(message:String):void
[static] Output log messages.
Diagnostics
 Inherited
AS3
  
[static]
Diagnostics
Protected Methods
 MethodDefined By
 Inherited
[static]
protected
 Inherited
_setPropertyIsEnumerable(o:*, V:String, enumerable:Boolean):void
[static]
protected
Public Constants
 ConstantDefined By
 Inheritedlength : int = 1
[static]
length
Method Detail
canonicalizeNumber()method
AVM2 static function canonicalizeNumber(a:*):*

Parameters

a:*

Returns
*
AVM-only debugger()method 
public static function debugger():void

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Enters debugger.

deopt()method 
AVM2 static function deopt(n:int):void

Parameters

n:int

AVM-only initializeLogging()method 
AVM2 static function initializeLogging(filename:String):void

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Initialize logging to a file.

Parameters

filename:String

AVM-only isDebugger()method 
public static function isDebugger():Boolean

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Tests if the current program is compiled with debugger flags.

Returns
Boolean
isGlobal()method 
AVM2 static function isGlobal(o:Object):Boolean

Parameters

o:Object

Returns
Boolean
isIntptr()method 
AVM2 static function isIntptr(a:*):Boolean

Parameters

a:*

Returns
Boolean
AVM-only log()method 
AVM2 static function log(message:String):void

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Output log messages.

Parameters

message:String

runInSafepoint()method 
AVM2 static function runInSafepoint(code:Function):void

Parameters

code:Function