Package stdlib
Class Printer
java.lang.Object
stdlib.Printer
- All Implemented Interfaces:
IndentPrinter,JDIEventHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate final InsideIgnoredMethodMapprivate final CodeMapprivate final Map<ThreadReference, Value> private static PrintStreamprivate final Map<ThreadReference, Value> private final Set<ReferenceType> private final ValueMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidNotification of a class prepare in the target VM.voidclassUnloadEvent(ClassUnloadEvent event) Notification of a class unload in the target VM.private voiddrawGraph(String loc, ThreadReference thr, Method meth) voidexceptionEvent(ExceptionEvent event) Notification of an exception in the target VM.voidmethodEntryEvent(MethodEntryEvent event) Notification of a method invocation in the target VM.voidmethodExitEvent(MethodExitEvent event) Notification of a method return in the target VM.voidNotification of a field modification in the target VM.voidNotification that a thread in the target VM is entering a monitor after waiting for it to be released by another thread.voidNotification that a thread in the target VM is attempting to enter a monitor that is already acquired by another thread.voidNotification that a thread in the target VM has finished waiting on an monitor object.voidmonitorWaitEvent(MonitorWaitEvent event) Notification that a thread in the target VM is about to wait on a monitor object.voidvoidprintDrawEvent(ThreadReference thr, String filename) voidprintLineNum(ThreadReference thr, int lineNumber) private voidprintLinePrefix(ThreadReference thr, boolean showLinePrompt) voidprintln(ThreadReference thr, String string) voidprivate voidprintLocals(StackFrame currFrame, ThreadReference thr) static voidstatic voidvoidNotification of step completion in the target VM.voidthreadDeathEvent(ThreadDeathEvent event) Notification of a completed thread in the target VM.voidthreadStartEvent(ThreadStartEvent event) Notification of a new running thread in the target VM.voidvmDeathEvent(VMDeathEvent event) Notification of target VM termination.voidNotification of disconnection from target VM.voidvmStartEvent(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:JDIEventHandlerNotification that a thread in the target VM is attempting to enter a monitor that is already acquired by another thread.- Specified by:
monitorContendedEnterEventin interfaceJDIEventHandler
-
monitorContendedEnteredEvent
Description copied from interface:JDIEventHandlerNotification that a thread in the target VM is entering a monitor after waiting for it to be released by another thread.- Specified by:
monitorContendedEnteredEventin interfaceJDIEventHandler
-
monitorWaitEvent
Description copied from interface:JDIEventHandlerNotification that a thread in the target VM is about to wait on a monitor object.- Specified by:
monitorWaitEventin interfaceJDIEventHandler
-
monitorWaitedEvent
Description copied from interface:JDIEventHandlerNotification that a thread in the target VM has finished waiting on an monitor object.- Specified by:
monitorWaitedEventin interfaceJDIEventHandler
-
vmStartEvent
Description copied from interface:JDIEventHandlerNotification of initialization of a target VM.- Specified by:
vmStartEventin interfaceJDIEventHandler
-
vmDeathEvent
Description copied from interface:JDIEventHandlerNotification of target VM termination.- Specified by:
vmDeathEventin interfaceJDIEventHandler
-
vmDisconnectEvent
Description copied from interface:JDIEventHandlerNotification of disconnection from target VM.- Specified by:
vmDisconnectEventin interfaceJDIEventHandler
-
threadStartEvent
Description copied from interface:JDIEventHandlerNotification of a new running thread in the target VM.- Specified by:
threadStartEventin interfaceJDIEventHandler
-
threadDeathEvent
Description copied from interface:JDIEventHandlerNotification of a completed thread in the target VM.- Specified by:
threadDeathEventin interfaceJDIEventHandler
-
classPrepareEvent
Description copied from interface:JDIEventHandlerNotification of a class prepare in the target VM.- Specified by:
classPrepareEventin interfaceJDIEventHandler
-
classUnloadEvent
Description copied from interface:JDIEventHandlerNotification of a class unload in the target VM.- Specified by:
classUnloadEventin interfaceJDIEventHandler
-
methodEntryEvent
Description copied from interface:JDIEventHandlerNotification of a method invocation in the target VM.- Specified by:
methodEntryEventin interfaceJDIEventHandler
-
methodExitEvent
Description copied from interface:JDIEventHandlerNotification of a method return in the target VM.- Specified by:
methodExitEventin interfaceJDIEventHandler
-
exceptionEvent
Description copied from interface:JDIEventHandlerNotification of an exception in the target VM.- Specified by:
exceptionEventin interfaceJDIEventHandler
-
stepEvent
Description copied from interface:JDIEventHandlerNotification of step completion in the target VM.- Specified by:
stepEventin interfaceJDIEventHandler
-
modificationWatchpointEvent
Description copied from interface:JDIEventHandlerNotification of a field modification in the target VM.- Specified by:
modificationWatchpointEventin interfaceJDIEventHandler
-
printCallTree
- Specified by:
printCallTreein interfaceJDIEventHandler
-
drawGraph
-
printLocals
-
setFilename
-
setFilename
-
println
-
println
- Specified by:
printlnin interfaceIndentPrinter
-
printLinePrefix
-
printLineNum
-
printDrawEvent
-