public class DManager extends Object implements DProtocolNotifierIF, SourceLocator
Modifier and Type | Field and Description |
---|---|
static String |
ARGUMENTS_MARKER |
static String |
SCOPE_CHAIN_MARKER |
Constructor and Description |
---|
DManager() |
Modifier and Type | Method and Description |
---|---|
void |
addEvent(DebugEvent e) |
void |
beginPlayerCodeExecution(int isolateId)
Tell us that we are about to start executing user code in the player,
such as a getter, a setter, or a function call.
|
void |
clearLastBinaryOp(int isolateId) |
void |
clearLastFunctionCall(int isolateId) |
void |
clearLastVariable(int isolateId) |
static String |
convertToURI(String playerURL)
The player sends us a URI using '|' instead of ':'
|
void |
disconnected()
Issued when the socket connection to the player is cut
|
void |
enableChildAttach(boolean enable,
int isolateId)
If this feature is enabled then we do not attempt to attach child
variables to parents.
|
FaultEvent |
endPlayerCodeExecution(int isolateId)
Informs us that user code is no longer executing, and returns the fault,
if any, which occurred while the code was executing.
|
byte[] |
getActions() |
DLocation |
getBreakpoint(int id,
int isolateId)
Breakpoints
|
DLocation[] |
getBreakpoints(int isolateId) |
int |
getChangeCount()
Returns a number which indicates how many times this SourceLocator's
search algorithm has been changed since it was created.
|
String[] |
getConstantPool() |
int |
getEventCount()
Event management related stuff
|
Object |
getEventNotifier()
Get an object on which callers can call wait(), in order to wait until
something happens.
|
DStackContext |
getFrame(int at,
int isolateId) |
int |
getFrameCount(int isolateId) |
DStackContext[] |
getFrames(int isolateId) |
DIsolate |
getIsolate(int at)
Isolates
|
int |
getIsolateCount() |
DIsolate[] |
getIsolates() |
ArrayList<SwfInfo> |
getIsolateSwfList() |
String |
getOption(String optionName)
Returns the value of a Flash Player option that was requested by
OutGetOption and returned by InOption.
|
DIsolate |
getOrCreateIsolate(int at) |
DValue |
getPreviousValue(long id,
int isolateId)
Returns the previous value object for the given id -- that is, the value
that that object had the last time the player was suspended.
|
DModule |
getSource(int id,
int isolateId) |
SourceLocator |
getSourceLocator() |
DModule[] |
getSources() |
DSuspendInfo |
getSuspendInfo(int isolateId)
Returns a suspend information on why the Player has suspended execution.
|
byte[] |
getSWD() |
byte[] |
getSWF() |
DSwfInfo |
getSwfInfo(int at,
int isolateId) |
int |
getSwfInfoCount(int isolateId) |
DSwfInfo[] |
getSwfInfos(int isolateId) |
String |
getURI() |
DValue |
getValue(long id,
int isolateId) |
int |
getVersion()
Returns the Flash Player version number; e.g. 9 for Flash Player 9.0
|
DWatch |
getWatchpoint(int at,
int isolateId)
Watchpoints
|
int |
getWatchpointCount(int isolateId) |
DWatch[] |
getWatchpoints(int isolateId) |
boolean |
isGetSupported()
Get function is only supported in players that recognize the squelch
message.
|
DVariable |
lastBinaryOp(int isolateId) |
DVariable |
lastFunctionCall(int isolateId) |
DVariable |
lastVariable(int isolateId) |
InputStream |
locateSource(String path,
String pkg,
String name)
Callback from DJAPI to the debugger, to find a source file.
|
void |
messageArrived(DMessage msg,
DProtocol which)
This is the core routine for decoding incoming messages and deciding what
should be done with them.
|
DebugEvent |
nextEvent() |
void |
setSourceLocator(SourceLocator sl) |
void |
setWideLines(boolean value) |
public static final String ARGUMENTS_MARKER
public static final String SCOPE_CHAIN_MARKER
public void setWideLines(boolean value)
public String getURI()
public byte[] getSWF()
public byte[] getSWD()
public byte[] getActions()
public int getVersion()
public SourceLocator getSourceLocator()
public void setSourceLocator(SourceLocator sl)
public void enableChildAttach(boolean enable, int isolateId)
public DVariable lastVariable(int isolateId)
public void clearLastVariable(int isolateId)
public DVariable lastFunctionCall(int isolateId)
public void clearLastFunctionCall(int isolateId)
public DVariable lastBinaryOp(int isolateId)
public void clearLastBinaryOp(int isolateId)
public DSwfInfo[] getSwfInfos(int isolateId)
public DSwfInfo getSwfInfo(int at, int isolateId)
public int getSwfInfoCount(int isolateId)
public DModule getSource(int id, int isolateId)
public DModule[] getSources()
public DValue getValue(long id, int isolateId)
public DValue getPreviousValue(long id, int isolateId)
null
if we don't have a value for that id.public String[] getConstantPool()
public DLocation getBreakpoint(int id, int isolateId)
public DLocation[] getBreakpoints(int isolateId)
public DWatch getWatchpoint(int at, int isolateId)
public int getWatchpointCount(int isolateId)
public DWatch[] getWatchpoints(int isolateId)
public DIsolate getIsolate(int at)
public DIsolate getOrCreateIsolate(int at)
public int getIsolateCount()
public DIsolate[] getIsolates()
public DStackContext getFrame(int at, int isolateId)
public int getFrameCount(int isolateId)
public DStackContext[] getFrames(int isolateId)
public boolean isGetSupported()
public DSuspendInfo getSuspendInfo(int isolateId)
public int getEventCount()
public Object getEventNotifier()
public DebugEvent nextEvent()
public void addEvent(DebugEvent e)
public void disconnected()
disconnected
in interface DProtocolNotifierIF
public void messageArrived(DMessage msg, DProtocol which)
messageArrived
in interface DProtocolNotifierIF
public static String convertToURI(String playerURL)
public void beginPlayerCodeExecution(int isolateId)
public FaultEvent endPlayerCodeExecution(int isolateId)
public InputStream locateSource(String path, String pkg, String name)
SourceLocator
locateSource
in interface SourceLocator
public int getChangeCount()
SourceLocator
getChangeCount
in interface SourceLocator
Copyright © 2016 The Apache Software Foundation. All rights reserved.