trait PureMiscInfo extends MiscInfo with JDIHelperMethods
Represents a pure profile for miscellaneous info that adds no extra logic on top of the standard JDI.
- Alphabetic
- By Inheritance
- PureMiscInfo
- JDIHelperMethods
- Logging
- MiscInfo
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
implicit
class
LoggerExtras
extends AnyRef
- Definition Classes
- Logging
Abstract Value Members
-
abstract
val
_virtualMachine: VirtualMachine
- Attributes
- protected
- Definition Classes
- JDIHelperMethods
-
abstract
val
classManager: ClassManager
- Attributes
- protected
-
abstract
val
infoProducer: InfoProducer
- Attributes
- protected
-
abstract
val
scalaVirtualMachine: ScalaVirtualMachine
- Attributes
- protected
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
availableLinesForFile(fileName: String): Option[Seq[Int]]
Retrieves the list of available lines for a specific file.
Retrieves the list of available lines for a specific file.
- fileName
The name of the file whose lines to retrieve
- returns
Some list of breakpointable lines if the file exists, otherwise None
- Definition Classes
- PureMiscInfo → MiscInfo
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
lazy val
commandLineArguments: Seq[String]
Represents the command line arguments used to start this VM.
Represents the command line arguments used to start this VM.
- returns
The command line arguments as a collection of strings
- Definition Classes
- PureMiscInfo → MiscInfo
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
findMainThread(virtualMachine: VirtualMachine): Option[ThreadReference]
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
-
def
findMainThread(): Option[ThreadReference]
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
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
logger: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
lazy val
mainClassName: String
Represents the name of the class used as the entrypoint for this vm.
Represents the name of the class used as the entrypoint for this vm.
- returns
The main class name as a string
- Definition Classes
- PureMiscInfo → MiscInfo
-
def
miscNewReferenceTypeProfile(referenceType: ReferenceType): ReferenceTypeInfo
- Attributes
- protected
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
retrieveCommandLineArguments(): Seq[String]
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
-
def
retrieveMainClassName(): String
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
-
def
singleSourcePath(referenceType: ReferenceType): Option[String]
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
-
def
sourceNameToPaths(sourceName: String): Seq[String]
Retrieves all source paths for the given source name.
Retrieves all source paths for the given source name.
- sourceName
The source (file) name whose associated paths to find
- returns
The collection of source paths
- Definition Classes
- PureMiscInfo → MiscInfo
nameToPaths("file.scala") yields Seq("path/to/file.scala", "other/path/to/file.scala")
Example: -
def
suspendThreadAndExecute[T](threadReference: ThreadReference)(thunk: ⇒ T): Try[T]
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
-
def
suspendVirtualMachineAndExecute[T](thunk: ⇒ T): Try[T]
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toScalaVirtualMachine: ScalaVirtualMachine
Retrieves the Scala virtual machine associated with this profile instance.
Retrieves the Scala virtual machine associated with this profile instance.
- returns
The Scala virtual machine instance
- Definition Classes
- PureMiscInfo → MiscInfo
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )