Package editor.debugger
Class DebuggerExpression
java.lang.Object
editor.debugger.DebuggerExpression
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDebuggerExpression
(String expr, String strClassContext, String strContextElementClass, int iContextLocation) -
Method Summary
Modifier and TypeMethodDescriptioncom.sun.jdi.Value
boxIfPrimitive
(DebuggerExpression.RuntimeState runtimeState, com.sun.jdi.ThreadReference suspendedThread, com.sun.jdi.Value value) private com.sun.jdi.Value
convertToWrapper
(DebuggerExpression.RuntimeState runtimeState, com.sun.jdi.ThreadReference suspendedThread, com.sun.jdi.PrimitiveValue value, String wrapperTypeName) com.sun.jdi.Value
private com.sun.jdi.Value
findThisObjectFromCtx
(com.sun.jdi.ThreadReference suspendedThread) private DebuggerExpression.RuntimeState
getRuntimeState
(Debugger debugger) private com.sun.jdi.ArrayReference
makeExternalsSymbolsForLocals
(DebuggerExpression.RuntimeState runtimeState, com.sun.jdi.VirtualMachine vm, Debugger debugger) private com.sun.jdi.Value
unbox
(DebuggerExpression.RuntimeState runtimeState, com.sun.jdi.ThreadReference suspendedThread, com.sun.jdi.ObjectReference value, String wrapperTypeName, String strMethod) com.sun.jdi.Value
unboxIfBoxed
(DebuggerExpression.RuntimeState runtimeState, com.sun.jdi.ThreadReference suspendedThread, com.sun.jdi.Value value)
-
Field Details
-
_strText
-
_strClassContext
-
_strContextElementClass
-
_iContextLocation
private int _iContextLocation -
_runtimeStateMap
-
-
Constructor Details
-
DebuggerExpression
-
-
Method Details
-
evaluate
- Throws:
com.sun.jdi.InvocationException
-
getRuntimeState
-
findThisObjectFromCtx
private com.sun.jdi.Value findThisObjectFromCtx(com.sun.jdi.ThreadReference suspendedThread) -
makeExternalsSymbolsForLocals
private com.sun.jdi.ArrayReference makeExternalsSymbolsForLocals(DebuggerExpression.RuntimeState runtimeState, com.sun.jdi.VirtualMachine vm, Debugger debugger) -
boxIfPrimitive
public com.sun.jdi.Value boxIfPrimitive(DebuggerExpression.RuntimeState runtimeState, com.sun.jdi.ThreadReference suspendedThread, com.sun.jdi.Value value) -
unboxIfBoxed
public com.sun.jdi.Value unboxIfBoxed(DebuggerExpression.RuntimeState runtimeState, com.sun.jdi.ThreadReference suspendedThread, com.sun.jdi.Value value) -
convertToWrapper
private com.sun.jdi.Value convertToWrapper(DebuggerExpression.RuntimeState runtimeState, com.sun.jdi.ThreadReference suspendedThread, com.sun.jdi.PrimitiveValue value, String wrapperTypeName) -
unbox
private com.sun.jdi.Value unbox(DebuggerExpression.RuntimeState runtimeState, com.sun.jdi.ThreadReference suspendedThread, com.sun.jdi.ObjectReference value, String wrapperTypeName, String strMethod)
-