|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object frysk.util.StacktraceAction
public abstract class StacktraceAction
Constructor Summary | |
---|---|
StacktraceAction(PrintWriter printWriter,
Proc theProc,
Event theEvent,
PrintDebugInfoStackOptions options)
Runs a stacktrace on the given process. |
Method Summary | |
---|---|
void |
addedTo(Object observable)
Acknowledge the request to add this Observer from Object's set of observers was successful. |
void |
addFailed(Object observable,
Throwable w)
Notify that the attempt to add to the specified observer failed. |
void |
allExistingTasksCompleted()
Called when all the tasks have been handled. |
void |
deletedFrom(Object observable)
Acknowledge the request to delete this Observer from Object's set of observers was successful (or that the Observer was spontaneously deleted, e.g., due to a task exit). |
void |
existingTask(Task task)
Called to deliver a list of existing tasks to the client. |
void |
flush()
|
void |
taskAddFailed(Object observable,
Throwable w)
Called when attempting to bind to a specific task fails. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StacktraceAction(PrintWriter printWriter, Proc theProc, Event theEvent, PrintDebugInfoStackOptions options)
theProc
- the process to run the stack trace on.theEvent
- an event to run on completion of the stack trace. For
example: Stop the eventLoop and exit the program.numberOfFrames
- number of frames to print pass value <=0 to print all frames.elfOnly
- if true print an elf only stack back trace not referring to any
stack debug information. Otherwise, print a rich stack trace using
debug information.printParameters
- this is only valid if elfOnly is false. If this option
is true then the parameters of each function are printed.printScopes
- this is only valid if elfOnly is false. If this is true
the scopes of the function and their respective variables are printedfullpath
- this is only valid if elfOnly is false. If this is true the entire
file path is printed other wise only the name of the file is printed.
ProcException
Method Detail |
---|
public void addedTo(Object observable)
Observer
addedTo
in interface Observer
public void addFailed(Object observable, Throwable w)
Observer
addFailed
in interface Observer
public void deletedFrom(Object observable)
Observer
deletedFrom
in interface Observer
public final void existingTask(Task task)
ProcBlockObserver
existingTask
in interface ProcBlockObserver
public void taskAddFailed(Object observable, Throwable w)
ProcBlockObserver
taskAddFailed
in interface ProcBlockObserver
public void flush()
public void allExistingTasksCompleted()
ProcBlockObserver
allExistingTasksCompleted
in interface ProcBlockObserver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |