Package stdlib
Class Printer
java.lang.Object
stdlib.Printer
- All Implemented Interfaces:
IndentPrinter
,JDIEventHandler
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private final InsideIgnoredMethodMap
private final CodeMap
private final Map
<ThreadReference, Value> private static PrintStream
private final Map
<ThreadReference, Value> private final Set
<ReferenceType> private final ValueMap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Notification of a class prepare in the target VM.void
classUnloadEvent
(ClassUnloadEvent event) Notification of a class unload in the target VM.private void
drawGraph
(String loc, ThreadReference thr, Method meth) void
exceptionEvent
(ExceptionEvent event) Notification of an exception in the target VM.void
methodEntryEvent
(MethodEntryEvent event) Notification of a method invocation in the target VM.void
methodExitEvent
(MethodExitEvent event) Notification of a method return in the target VM.void
Notification of a field modification in the target VM.void
Notification that a thread in the target VM is entering a monitor after waiting for it to be released by another thread.void
Notification that a thread in the target VM is attempting to enter a monitor that is already acquired by another thread.void
Notification that a thread in the target VM has finished waiting on an monitor object.void
monitorWaitEvent
(MonitorWaitEvent event) Notification that a thread in the target VM is about to wait on a monitor object.void
void
printDrawEvent
(ThreadReference thr, String filename) void
printLineNum
(ThreadReference thr, int lineNumber) private void
printLinePrefix
(ThreadReference thr, boolean showLinePrompt) void
println
(ThreadReference thr, String string) void
private void
printLocals
(StackFrame currFrame, ThreadReference thr) static void
static void
void
Notification of step completion in the target VM.void
threadDeathEvent
(ThreadDeathEvent event) Notification of a completed thread in the target VM.void
threadStartEvent
(ThreadStartEvent event) Notification of a new running thread in the target VM.void
vmDeathEvent
(VMDeathEvent event) Notification of target VM termination.void
Notification of disconnection from target VM.void
vmStartEvent
(VMStartEvent event) Notification of initialization of a target VM.
-
Field Details
-
staticClasses
-
returnValues
-
exceptionsMap
-
values
-
codeMap
-
boolMap
-
atNewLine
-
out
-
-
Constructor Details
-
Printer
Printer()
-
-
Method Details
-
monitorContendedEnterEvent
Description copied from interface:JDIEventHandler
Notification that a thread in the target VM is attempting to enter a monitor that is already acquired by another thread.- Specified by:
monitorContendedEnterEvent
in interfaceJDIEventHandler
-
monitorContendedEnteredEvent
Description copied from interface:JDIEventHandler
Notification that a thread in the target VM is entering a monitor after waiting for it to be released by another thread.- Specified by:
monitorContendedEnteredEvent
in interfaceJDIEventHandler
-
monitorWaitEvent
Description copied from interface:JDIEventHandler
Notification that a thread in the target VM is about to wait on a monitor object.- Specified by:
monitorWaitEvent
in interfaceJDIEventHandler
-
monitorWaitedEvent
Description copied from interface:JDIEventHandler
Notification that a thread in the target VM has finished waiting on an monitor object.- Specified by:
monitorWaitedEvent
in interfaceJDIEventHandler
-
vmStartEvent
Description copied from interface:JDIEventHandler
Notification of initialization of a target VM.- Specified by:
vmStartEvent
in interfaceJDIEventHandler
-
vmDeathEvent
Description copied from interface:JDIEventHandler
Notification of target VM termination.- Specified by:
vmDeathEvent
in interfaceJDIEventHandler
-
vmDisconnectEvent
Description copied from interface:JDIEventHandler
Notification of disconnection from target VM.- Specified by:
vmDisconnectEvent
in interfaceJDIEventHandler
-
threadStartEvent
Description copied from interface:JDIEventHandler
Notification of a new running thread in the target VM.- Specified by:
threadStartEvent
in interfaceJDIEventHandler
-
threadDeathEvent
Description copied from interface:JDIEventHandler
Notification of a completed thread in the target VM.- Specified by:
threadDeathEvent
in interfaceJDIEventHandler
-
classPrepareEvent
Description copied from interface:JDIEventHandler
Notification of a class prepare in the target VM.- Specified by:
classPrepareEvent
in interfaceJDIEventHandler
-
classUnloadEvent
Description copied from interface:JDIEventHandler
Notification of a class unload in the target VM.- Specified by:
classUnloadEvent
in interfaceJDIEventHandler
-
methodEntryEvent
Description copied from interface:JDIEventHandler
Notification of a method invocation in the target VM.- Specified by:
methodEntryEvent
in interfaceJDIEventHandler
-
methodExitEvent
Description copied from interface:JDIEventHandler
Notification of a method return in the target VM.- Specified by:
methodExitEvent
in interfaceJDIEventHandler
-
exceptionEvent
Description copied from interface:JDIEventHandler
Notification of an exception in the target VM.- Specified by:
exceptionEvent
in interfaceJDIEventHandler
-
stepEvent
Description copied from interface:JDIEventHandler
Notification of step completion in the target VM.- Specified by:
stepEvent
in interfaceJDIEventHandler
-
modificationWatchpointEvent
Description copied from interface:JDIEventHandler
Notification of a field modification in the target VM.- Specified by:
modificationWatchpointEvent
in interfaceJDIEventHandler
-
printCallTree
- Specified by:
printCallTree
in interfaceJDIEventHandler
-
drawGraph
-
printLocals
-
setFilename
-
setFilename
-
println
-
println
- Specified by:
println
in interfaceIndentPrinter
-
printLinePrefix
-
printLineNum
-
printDrawEvent
-