public class ScriptDebugger extends Object
| Constructor and Description |
|---|
ScriptDebugger() |
| Modifier and Type | Method and Description |
|---|---|
void |
didExecuteScript(int nScriptID,
Arg oReturnValue)
Signals that the specified script has finished executing.
|
int |
getScriptID(ScriptHandler oScriptHandler,
String sScriptContents,
Node oContextNode,
int eReason)
Provide a unique script ID for the specified script, given its
context information.
|
int |
getScriptID(ScriptHandler oScriptHandler,
String sScriptContents,
String sContextNodeSOM,
int eReason)
For remote debugging.
|
void |
poll(ScriptHandler oScriptHandler)
The poll() method is periodically called during the execution
of a script.
|
void |
resolvedValue(String sValueName,
Arg oRetrievedValue)
Called to indicate that a script handler resolved a value internally.
|
void |
stopped(int nScriptID,
int nLine)
Signals that the specified script has stopped momentarily.
|
void |
willExecuteScript(int nScriptID)
Signals that the specified script is about to execute.
|
public int getScriptID(ScriptHandler oScriptHandler, String sScriptContents, Node oContextNode, int eReason)
oScriptHandler - the script handler of the script.sScriptContents - the executable code of the script.oContextNode - the Node that is the current node when the script
runs.eReason - the reason for the execution of the script.public int getScriptID(ScriptHandler oScriptHandler, String sScriptContents, String sContextNodeSOM, int eReason)
public void willExecuteScript(int nScriptID)
nScriptID - the unique identifier of the script.public void didExecuteScript(int nScriptID,
Arg oReturnValue)
nScriptID - the unique identifier of the script.oReturnValue - the return value of the script.public void stopped(int nScriptID,
int nLine)
nScriptID - the unique identifier of the script.nLine - the current execution line of the script.public void resolvedValue(String sValueName, Arg oRetrievedValue)
sValueName - the name of the value that was resolved.oRetrievedValue - the resultant value.public void poll(ScriptHandler oScriptHandler)
oScriptHandler - the script handler that is active.Copyright © 2010 - 2020 Adobe. All Rights Reserved