Class DebuggerExpression


  • public class DebuggerExpression
    extends java.lang.Object
    • Field Detail

      • _strText

        private java.lang.String _strText
      • _strClassContext

        private java.lang.String _strClassContext
      • _strContextElementClass

        private java.lang.String _strContextElementClass
      • _iContextLocation

        private int _iContextLocation
    • Constructor Detail

      • DebuggerExpression

        public DebuggerExpression​(java.lang.String expr,
                                  java.lang.String strClassContext,
                                  java.lang.String strContextElementClass,
                                  int iContextLocation)
    • Method Detail

      • evaluate

        public com.sun.jdi.Value evaluate​(Debugger debugger)
                                   throws com.sun.jdi.InvocationException
        Throws:
        com.sun.jdi.InvocationException
      • 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,
                                                   java.lang.String wrapperTypeName)
      • unbox

        private com.sun.jdi.Value unbox​(DebuggerExpression.RuntimeState runtimeState,
                                        com.sun.jdi.ThreadReference suspendedThread,
                                        com.sun.jdi.ObjectReference value,
                                        java.lang.String wrapperTypeName,
                                        java.lang.String strMethod)