Class

org.scaladebugger.api.profiles.scala210.info

Scala210LocalVariableInfo

Related Doc: package info

Permalink

class Scala210LocalVariableInfo extends PureLocalVariableInfo

Represents an implementation of a local variable profile that adds Scala 2.10 specific debug logic.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Scala210LocalVariableInfo
  2. PureLocalVariableInfo
  3. PureCreateInfoProfile
  4. JDIHelperMethods
  5. Logging
  6. IndexedVariableInfo
  7. VariableInfo
  8. CommonInfo
  9. JavaInfo
  10. CreateInfoProfile
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Scala210LocalVariableInfo(scalaVirtualMachine: ScalaVirtualMachine, infoProducer: InfoProducer, frame: FrameInfo, _localVariable: LocalVariable, offsetIndex: Int)(_virtualMachine: VirtualMachine = _localVariable.virtualMachine())

    Permalink

    scalaVirtualMachine

    The high-level virtual machine containing the local variable

    infoProducer

    The producer of info-based profile instances

    frame

    The frame associated with the local variable instance

    _localVariable

    The reference to the underlying JDI local variable

    offsetIndex

    The index of the offset of this variable relative to other variables in the same stack frame (or -1 if not providing the information)

    _virtualMachine

    The virtual machine used to mirror local values on the remote JVM

Type Members

  1. implicit class LoggerExtras extends AnyRef

    Permalink
    Definition Classes
    Logging

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val _virtualMachine: VirtualMachine

    Permalink

    The virtual machine used to mirror local values on the remote JVM

    The virtual machine used to mirror local values on the remote JVM

    Attributes
    protected
    Definition Classes
    Scala210LocalVariableInfoPureLocalVariableInfoJDIHelperMethods
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def createNewValueProfile(value: Value): ValueInfo

    Permalink
    Attributes
    protected
    Definition Classes
    PureCreateInfoProfile
  8. def createRemotely(value: String): ValueInfo

    Permalink

    Creates the provided value on the remote JVM.

    Creates the provided value on the remote JVM.

    value

    The value to create (mirror) on the remote JVM

    returns

    The information about the remote value

    Definition Classes
    PureCreateInfoProfileCreateInfoProfile
  9. def createRemotely(value: AnyVal): ValueInfo

    Permalink

    Creates the provided value on the remote JVM.

    Creates the provided value on the remote JVM.

    value

    The value to create (mirror) on the remote JVM

    returns

    The information about the remote value

    Definition Classes
    PureCreateInfoProfileCreateInfoProfile
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def findMainThread(virtualMachine: VirtualMachine): Option[ThreadReference]

    Permalink

    Determines the main executing thread of the specified virtual machine.

    Determines the main executing thread of the specified virtual machine.

    virtualMachine

    The virtual machine whose main thread to determine

    returns

    Some reference to the main thread if it can be determined, otherwise None

    Attributes
    protected
    Definition Classes
    JDIHelperMethods
  14. def findMainThread(): Option[ThreadReference]

    Permalink

    Determines the main executing thread of the _virtualMachine instance.

    Determines the main executing thread of the _virtualMachine instance.

    returns

    Some reference to the main thread if it can be determined, otherwise None

    Attributes
    protected
    Definition Classes
    JDIHelperMethods
  15. val frame: FrameInfo

    Permalink

    The frame associated with the local variable instance

    The frame associated with the local variable instance

    Definition Classes
    Scala210LocalVariableInfoPureLocalVariableInfoIndexedVariableInfo
  16. def frameIndex: Int

    Permalink

    Returns the index of the stack frame where this variable is located.

    Returns the index of the stack frame where this variable is located.

    returns

    The frame starting from 0 (top of the stack)

    Definition Classes
    PureLocalVariableInfoIndexedVariableInfo
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hasOffsetIndex: Boolean

    Permalink

    Returns whether or not this variable was provided with its offset index.

    Returns whether or not this variable was provided with its offset index.

    returns

    True if an offset index exists, otherwise false

    Definition Classes
    VariableInfo
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. val infoProducer: InfoProducer

    Permalink

    The producer of info-based profile instances

    The producer of info-based profile instances

    Attributes
    protected
    Definition Classes
    Scala210LocalVariableInfoPureLocalVariableInfoPureCreateInfoProfile
  21. def isArgument: Boolean

    Permalink

    Returns whether or not this variable represents an argument.

    Returns whether or not this variable represents an argument.

    returns

    True if an argument, otherwise false

    Definition Classes
    PureLocalVariableInfoVariableInfo
  22. def isField: Boolean

    Permalink

    Returns whether or not this variable represents a field.

    Returns whether or not this variable represents a field.

    returns

    True if a field, otherwise false

    Definition Classes
    PureLocalVariableInfoVariableInfo
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def isJavaInfo: Boolean

    Permalink

    Returns whether or not this info profile represents the low-level Java implementation.

    Returns whether or not this info profile represents the low-level Java implementation.

    returns

    If true, this profile represents the low-level Java information, otherwise this profile represents something higher-level like Scala, Jython, or JRuby

    Definition Classes
    Scala210LocalVariableInfoPureLocalVariableInfoJavaInfo
  25. def isLocal: Boolean

    Permalink

    Returns whether or not this variable represents a local variable.

    Returns whether or not this variable represents a local variable.

    returns

    True if a local variable, otherwise false

    Definition Classes
    PureLocalVariableInfoVariableInfo
  26. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  27. def name: String

    Permalink

    Returns the name of the variable.

    Returns the name of the variable.

    returns

    The name of the variable

    Definition Classes
    Scala210LocalVariableInfoPureLocalVariableInfoVariableInfo
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. def newTypeProfile(_type: Type): TypeInfo

    Permalink
    Attributes
    protected
    Definition Classes
    PureLocalVariableInfo
  30. def newValueProfile(value: Value): ValueInfo

    Permalink
    Attributes
    protected
    Definition Classes
    PureLocalVariableInfo
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. val offsetIndex: Int

    Permalink

    The index of the offset of this variable relative to other variables in the same stack frame (or -1 if not providing the information)

    The index of the offset of this variable relative to other variables in the same stack frame (or -1 if not providing the information)

    Definition Classes
    Scala210LocalVariableInfoPureLocalVariableInfoVariableInfo
  34. def retrieveCommandLineArguments(): Seq[String]

    Permalink

    Retrieves the command line arguments used to start this virtual machine.

    Retrieves the command line arguments used to start this virtual machine.

    returns

    The sequence of arguments as strings

    Attributes
    protected
    Definition Classes
    JDIHelperMethods
  35. def retrieveMainClassName(): String

    Permalink

    Retrieves the fully-qualified class name that invoked the main method of this virtual machine.

    Retrieves the fully-qualified class name that invoked the main method of this virtual machine.

    returns

    The name as a string

    Attributes
    protected
    Definition Classes
    JDIHelperMethods
  36. val scalaVirtualMachine: ScalaVirtualMachine

    Permalink

    The high-level virtual machine containing the local variable

    The high-level virtual machine containing the local variable

    Definition Classes
    Scala210LocalVariableInfoPureLocalVariableInfoPureCreateInfoProfileCommonInfo
  37. def setValue(value: String): ValueInfo

    Permalink

    Sets the string value of this variable.

    Sets the string value of this variable.

    value

    The new value for the variable

    returns

    The new remote value

    Definition Classes
    VariableInfo
  38. def setValue(value: AnyVal): ValueInfo

    Permalink

    Sets the primitive value of this variable.

    Sets the primitive value of this variable.

    value

    The new value for the variable

    returns

    The new remote value

    Definition Classes
    VariableInfo
  39. def setValueFromInfo(valueInfo: ValueInfo): ValueInfo

    Permalink

    Sets the value of this variable using info about another remote value.

    Sets the value of this variable using info about another remote value.

    valueInfo

    The remote value to set for the variable

    returns

    The info for the variable's new value

    Definition Classes
    PureLocalVariableInfoVariableInfo
  40. def singleSourcePath(referenceType: ReferenceType): Option[String]

    Permalink

    Retrieves the convergent source path of the provided reference type.

    Retrieves the convergent source path of the provided reference type.

    referenceType

    The reference instance whose source path to determine

    returns

    Some source path as a string if convergent, otherwise None

    Attributes
    protected
    Definition Classes
    JDIHelperMethods
  41. def suspendThreadAndExecute[T](threadReference: ThreadReference)(thunk: ⇒ T): Try[T]

    Permalink

    Executes the provided block of code during the state of a suspended thread.

    Executes the provided block of code during the state of a suspended thread. The thread reference is synchronized to prevent another thread suspending the same thread reference.

    T

    The type of result from the block of code

    thunk

    The block of code to execute

    returns

    The results of attempting to execute the block of code

    Attributes
    protected
    Definition Classes
    JDIHelperMethods
  42. def suspendVirtualMachineAndExecute[T](thunk: ⇒ T): Try[T]

    Permalink

    Executes the provided block of code during the state of a suspended virtual machine.

    Executes the provided block of code during the state of a suspended virtual machine. The virtual machine is synchronized to prevent another thread suspending the same virtual machine.

    T

    The type of result from the block of code

    thunk

    The block of code to execute

    returns

    The results of attempting to execute the block of code

    Attributes
    protected
    Definition Classes
    JDIHelperMethods
  43. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  44. def toJavaInfo: IndexedVariableInfo

    Permalink

    Converts the current profile instance to a representation of low-level Java instead of a higher-level abstraction.

    Converts the current profile instance to a representation of low-level Java instead of a higher-level abstraction.

    returns

    The profile instance providing an implementation corresponding to Java

    Definition Classes
    PureLocalVariableInfoIndexedVariableInfoVariableInfoCommonInfoJavaInfo
  45. def toJdiInstance: LocalVariable

    Permalink

    Returns the JDI representation this profile instance wraps.

    Returns the JDI representation this profile instance wraps.

    returns

    The JDI instance

    Definition Classes
    PureLocalVariableInfoVariableInfoCommonInfo
  46. def toPrettyString: String

    Permalink

    Returns a string presenting a better human-readable description of the JDI instance.

    Returns a string presenting a better human-readable description of the JDI instance.

    returns

    The human-readable description

    Definition Classes
    VariableInfoCommonInfo
  47. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  48. def toValueInfo: ValueInfo

    Permalink

    Returns a profile representing the value of this variable.

    Returns a profile representing the value of this variable.

    returns

    The profile representing the value

    Definition Classes
    PureLocalVariableInfoVariableInfo
  49. def tryCreateRemotely(value: String): Try[ValueInfo]

    Permalink

    Creates the provided value on the remote JVM.

    Creates the provided value on the remote JVM.

    value

    The value to create (mirror) on the remote JVM

    returns

    Success containing the information about the remote value, otherwise a failure

    Definition Classes
    CreateInfoProfile
  50. def tryCreateRemotely(value: AnyVal): Try[ValueInfo]

    Permalink

    Creates the provided value on the remote JVM.

    Creates the provided value on the remote JVM.

    value

    The value to create (mirror) on the remote JVM

    returns

    Success containing the information about the remote value, otherwise a failure

    Definition Classes
    CreateInfoProfile
  51. def trySetValue(value: String): Try[ValueInfo]

    Permalink

    Sets the string value of this variable.

    Sets the string value of this variable.

    value

    The new value for the variable

    returns

    Success containing the new remote value, otherwise a failure

    Definition Classes
    VariableInfo
  52. def trySetValue(value: AnyVal): Try[ValueInfo]

    Permalink

    Sets the primitive value of this variable.

    Sets the primitive value of this variable.

    value

    The new value for the variable

    returns

    Success containing the new remote value, otherwise a failure

    Definition Classes
    VariableInfo
  53. def trySetValueFromInfo(valueInfo: ValueInfo): Try[ValueInfo]

    Permalink

    Sets the value of this variable using info about another remote value.

    Sets the value of this variable using info about another remote value.

    valueInfo

    The remote value to set for the variable

    returns

    Success containing the variable's value info, otherwise a failure

    Definition Classes
    VariableInfo
  54. def tryToValueInfo: Try[ValueInfo]

    Permalink

    Returns a profile representing the value of this variable.

    Returns a profile representing the value of this variable.

    returns

    Success containing the profile representing the value, otherwise a failure

    Definition Classes
    VariableInfo
  55. def tryTypeInfo: Try[TypeInfo]

    Permalink

    rsenkbeil3 Returns the type information for the variable.

    rsenkbeil3 Returns the type information for the variable.

    returns

    Success containing the profile containing type information, otherwise a failure

    Definition Classes
    VariableInfo
  56. def typeInfo: TypeInfo

    Permalink

    Returns the type information for the variable.

    Returns the type information for the variable.

    returns

    The profile containing type information

    Definition Classes
    PureLocalVariableInfoVariableInfo
  57. def typeName: String

    Permalink

    Returns the name of the type representing the variable.

    Returns the name of the type representing the variable.

    returns

    The type name as a string

    Definition Classes
    PureLocalVariableInfoVariableInfo
  58. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from PureLocalVariableInfo

Inherited from PureCreateInfoProfile

Inherited from JDIHelperMethods

Inherited from Logging

Inherited from IndexedVariableInfo

Inherited from VariableInfo

Inherited from CommonInfo

Inherited from JavaInfo

Inherited from CreateInfoProfile

Inherited from AnyRef

Inherited from Any

Ungrouped