Package | Description |
---|---|
flash.tools.debugger | |
flash.tools.debugger.concrete | |
flash.tools.debugger.expression | |
flash.tools.debugger.threadsafe | |
flex.tools.debugger.cli |
Modifier and Type | Method and Description |
---|---|
Session |
SessionManager.accept(IProgress waitReporter)
Blocks until the next available player debug session commences, or until
getPreference(PREF_ACCEPT_TIMEOUT) milliseconds pass. |
Session |
SessionManager.connect(int port,
IProgress waitReporter)
Initiate a debug session by connecting to the specified port.
|
Session |
SessionManager.launch(String uri,
AIRLaunchInfo airLaunchInfo,
boolean forDebugging,
IProgress waitReporter,
ILaunchNotification launchNotification)
Launches a Player using the given string as a URI, as defined by RFC2396.
|
Session |
SessionManager2.launch(String uri,
AIRLaunchInfo airLaunchInfo,
boolean forDebugging,
IProgress waitReporter,
ILaunchNotification launchNotification,
ILauncher launcher)
Launches the given string as a URI using the ILauncher Instance.
|
Modifier and Type | Method and Description |
---|---|
Variable[] |
Frame.getArguments(Session s)
Arguments that were passed into the function.
|
String |
SourceFile.getFunctionNameForLine(Session s,
int lineNum)
Return the function name for a given line number, or
null
if not known or if the line matches more than one function. |
String[] |
SourceFile.getFunctionNames(Session s)
Get a list of all function names for this SourceFile
|
int |
SourceFile.getLineForFunctionName(Session s,
String name)
Return the line number for the given function name
if it doesn't exists -1 is returned
|
Variable[] |
Frame.getLocals(Session s)
Locals used within this function scope.
|
int |
Value.getMemberCount(Session s)
Returns the number of child members of this variable.
|
Variable |
Value.getMemberNamed(Session s,
String name)
Returns a specific child member of this variable.
|
Variable[] |
Value.getMembers(Session s)
Returns all child members of this variable.
|
Variable[] |
Frame.getScopeChain(Session s)
Returns a list of objects which make up the scope chain of
this frame.
|
int |
SwfInfo.getSourceCount(Session s)
Number of source files in this SWF.
|
SourceFile[] |
SwfInfo.getSourceList(Session s)
List of source files that are contained within
this SWF.
|
int |
SwfInfo.getSwdSize(Session s)
The size of the debug SWD file, if any
This may also be zero if the SWD load is in progress
|
Variable |
Frame.getThis(Session s)
'this' variable for the frame.
|
boolean |
Variable.hasValueChanged(Session s)
Returns whether the value of the variable has changed since the last
time the program was suspended.
|
void |
Variable.invokeGetter(Session s)
Executes the getter for this variable, and changes its value accordingly.
|
FaultEvent |
Variable.setValue(Session s,
int type,
String value)
Changes the value of a variable.
|
Modifier and Type | Class and Description |
---|---|
class |
PlayerSession |
Modifier and Type | Method and Description |
---|---|
Session |
PlayerSessionManager.accept(IProgress waitReporter) |
Session |
PlayerSessionManager.connect(int port,
IProgress waitReporter)
A private variation on
connect() that also has an argument
indicating that the process we are waiting for has terminated. |
Session |
PlayerSessionManager.launch(String uri,
AIRLaunchInfo airLaunchInfo,
boolean forDebugging,
IProgress waitReporter,
ILaunchNotification launchNotification) |
Session |
PlayerSessionManager.launch(String uri,
AIRLaunchInfo airLaunchInfo,
boolean forDebugging,
IProgress waitReporter,
ILaunchNotification launchNotification,
ILauncher launcher) |
Modifier and Type | Method and Description |
---|---|
Variable[] |
DStackContext.getArguments(Session s) |
String |
DModule.getFunctionNameForLine(Session s,
int line) |
String[] |
DModule.getFunctionNames(Session s) |
int |
DModule.getLineForFunctionName(Session s,
String name) |
Variable[] |
DStackContext.getLocals(Session s) |
int |
DValue.getMemberCount(Session s) |
Variable |
DValue.getMemberNamed(Session s,
String name) |
Variable[] |
DValue.getMembers(Session s) |
Variable[] |
DStackContext.getScopeChain(Session s) |
int |
DSwfInfo.getSourceCount(Session s)
Return the number of sources that we have
|
SourceFile[] |
DSwfInfo.getSourceList(Session s)
Return a list of our sources
|
int |
DSwfInfo.getSwdSize(Session s) |
Variable |
DStackContext.getThis(Session s) |
boolean |
DVariable.hasValueChanged(Session s) |
void |
DVariable.invokeGetter(Session s) |
void |
DVariable.setSession(Session s) |
void |
DValue.setSession(Session s) |
FaultEvent |
DVariable.setValue(Session s,
int type,
String value) |
Modifier and Type | Method and Description |
---|---|
Session |
Context.getSession()
Returns the session associated with this context, or null.
|
Modifier and Type | Method and Description |
---|---|
static Value |
ECMA.defaultValue(Session session,
Value v,
flash.tools.debugger.expression.ECMA.PreferredType optionalPreferredType,
int isolateId)
ECMA 8.6.2.6
|
static boolean |
ECMA.equals(Session session,
Value xv,
Value yv)
ECMA 11.9.3
|
static Value |
ECMA.lessThan(Session session,
Value x,
Value y)
ECMA 11.8.5.
|
static int |
ECMA.toInt32(Session session,
Value v)
ECMA 9.5
|
static double |
ECMA.toNumber(Session session,
Value v)
ECMA 9.3
|
static Value |
ECMA.toPrimitive(Session session,
Value v,
flash.tools.debugger.expression.ECMA.PreferredType optionalPreferredType,
int isolateId)
ECMA 9.1
|
static String |
ECMA.toString(Session session,
Value v)
ECMA 9.8
|
static long |
ECMA.toUint32(Session session,
Value v)
ECMA 9.6
|
Modifier and Type | Class and Description |
---|---|
class |
ThreadSafeSession
Thread-safe wrapper for flash.tools.debugger.Session
|
Modifier and Type | Method and Description |
---|---|
Session |
ThreadSafeSessionManager.accept(IProgress waitReporter) |
Session |
ThreadSafeSessionManager.connect(int port,
IProgress waitReporter) |
static Session |
ThreadSafeSession.getRaw(Session s)
Returns the raw Session underlying a ThreadSafeSession.
|
Session |
ThreadSafeSessionManager.launch(String uri,
AIRLaunchInfo airLaunchInfo,
boolean forDebugging,
IProgress waitReporter,
ILaunchNotification launchNotification) |
Session |
ThreadSafeSessionManager.launch(String uri,
AIRLaunchInfo airLaunchInfo,
boolean forDebugging,
IProgress waitReporter,
ILaunchNotification launchNotification,
ILauncher launcher) |
Modifier and Type | Method and Description |
---|---|
Variable[] |
ThreadSafeFrame.getArguments(Session s) |
String |
ThreadSafeSourceFile.getFunctionNameForLine(Session session,
int lineNum) |
String[] |
ThreadSafeSourceFile.getFunctionNames(Session session) |
int |
ThreadSafeSourceFile.getLineForFunctionName(Session session,
String name) |
Variable[] |
ThreadSafeFrame.getLocals(Session s) |
int |
ThreadSafeValue.getMemberCount(Session s) |
Variable |
ThreadSafeValue.getMemberNamed(Session s,
String name) |
Variable[] |
ThreadSafeValue.getMembers(Session s) |
static Session |
ThreadSafeSession.getRaw(Session s)
Returns the raw Session underlying a ThreadSafeSession.
|
Variable[] |
ThreadSafeFrame.getScopeChain(Session s) |
int |
ThreadSafeSwfInfo.getSourceCount(Session s) |
SourceFile[] |
ThreadSafeSwfInfo.getSourceList(Session s) |
int |
ThreadSafeSwfInfo.getSwdSize(Session s) |
static Object |
ThreadSafeSession.getSyncObject(Session s) |
Variable |
ThreadSafeFrame.getThis(Session s) |
boolean |
ThreadSafeVariable.hasValueChanged(Session s) |
void |
ThreadSafeVariable.invokeGetter(Session s) |
FaultEvent |
ThreadSafeVariable.setValue(Session s,
int type,
String value) |
static ThreadSafeSession |
ThreadSafeSession.wrap(Object syncObj,
Session session)
Wraps a Session inside a ThreadSafeSession.
|
Modifier and Type | Method and Description |
---|---|
Session |
ExpressionContext.getSession() |
Session |
ExpressionCache.getSession() |
Session |
DebugCLI.getSession() |
Modifier and Type | Method and Description |
---|---|
void |
FileInfoCache.bind(Session s) |
void |
ExpressionCache.bind(Session s) |
boolean |
VariableFacade.hasValueChanged(Session s) |
void |
VariableFacade.invokeGetter(Session s) |
FaultEvent |
VariableFacade.setValue(Session s,
int type,
String value) |
Copyright © 2016 The Apache Software Foundation. All rights reserved.