trait StepManager extends AnyRef
Represents the manager for step requests.
- Alphabetic
- By Inheritance
- StepManager
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
createStepRequestWithId(requestId: String, removeExistingRequests: Boolean, threadReference: ThreadReference, size: Int, depth: Int, extraArguments: JDIRequestArgument*): Try[String]
Creates and enables a step request for the given thread using the provided size (next valid location or next location on a new line) and depth (into, over, or out of the current frame).
Creates and enables a step request for the given thread using the provided size (next valid location or next location on a new line) and depth (into, over, or out of the current frame).
- requestId
The id of the request used for lookup and removal
- removeExistingRequests
If true, will first remove any existing step requests for the specified thread
- threadReference
The thread with which to perform the step
- size
The size of the step request (LINE/MIN)
- depth
The depth of the step request (INTO/OVER/OUT)
- extraArguments
Any additional arguments to provide to the request
- returns
Success(id) if successful, otherwise Failure
- Note
Includes a default count filter of 1. This can be overridden by providing a CountFilter(count = ???) as an extra argument.
-
abstract
def
getStepRequest(threadReference: ThreadReference): Option[Seq[StepRequest]]
Returns the collection of step requests for the specified thread.
Returns the collection of step requests for the specified thread.
- threadReference
The thread with which the step is associated
- returns
Some collection of steps for the specified thread if it exists, otherwise None
-
abstract
def
getStepRequestInfoWithId(requestId: String): Option[StepRequestInfo]
Returns the arguments for a step request with the specified id.
Returns the arguments for a step request with the specified id.
- requestId
The id of the request
- returns
Some step arguments if found, otherwise None
-
abstract
def
getStepRequestWithId(requestId: String): Option[StepRequest]
Returns the collection of steps with the specified id.
Returns the collection of steps with the specified id.
- requestId
The id of the request
- returns
Some step request if the id exists, otherwise None
-
abstract
def
hasStepRequest(threadReference: ThreadReference): Boolean
Determines whether or not there is a step request for the specified thread.
Determines whether or not there is a step request for the specified thread.
- threadReference
The thread with which the step request is associated
- returns
True if a step request for the thread exists, otherwise false
-
abstract
def
hasStepRequestWithId(requestId: String): Boolean
Determines whether or not the step request with the specified id exists.
Determines whether or not the step request with the specified id exists.
- requestId
The id of the request
- returns
True if a step request with the id exists, otherwise false
-
abstract
def
removeStepRequest(threadReference: ThreadReference): Boolean
Removes the step requests for the specified thread.
Removes the step requests for the specified thread.
- threadReference
The thread with which the step is associated
- returns
True if successfully removed the step request, otherwise false
-
abstract
def
removeStepRequestWithId(requestId: String): Boolean
Removes the step request with the specified id.
Removes the step request with the specified id.
- requestId
The id of the request
- returns
True if successfully removed the step request, otherwise false
-
abstract
def
stepRequestList: Seq[StepRequestInfo]
Retrieves the list of steps contained by this manager.
Retrieves the list of steps contained by this manager.
- returns
The collection of steps in the form of thread reference
-
abstract
def
stepRequestListById: Seq[String]
Retrieves the list of steps contained by this manager.
Retrieves the list of steps contained by this manager.
- returns
The collection of steps by id
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
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
createStepIntoLineRequest(threadReference: ThreadReference, extraArguments: JDIRequestArgument*): Try[String]
Creates a new step request to step into the next called method (in other words, enter the next frame created by a function on the current line or continue forward) for the next line location.
Creates a new step request to step into the next called method (in other words, enter the next frame created by a function on the current line or continue forward) for the next line location.
Removes any existing step requests for the specified thread.
- threadReference
The thread where the step will occur
- extraArguments
The additional arguments to provide to the request
- returns
Success(id) if successful, otherwise Failure
- Note
Includes a default count filter of 1. This can be overridden by providing a CountFilter(count = ???) as an extra argument.
-
def
createStepIntoMinRequest(threadReference: ThreadReference, extraArguments: JDIRequestArgument*): Try[String]
Creates a new step request to step into the next called method (in other words, enter the next frame created by a function on the current line or continue forward) for the next possible location.
Creates a new step request to step into the next called method (in other words, enter the next frame created by a function on the current line or continue forward) for the next possible location.
Removes any existing step requests for the specified thread.
- threadReference
The thread where the step will occur
- extraArguments
The additional arguments to provide to the request
- returns
Success(id) if successful, otherwise Failure
- Note
Includes a default count filter of 1. This can be overridden by providing a CountFilter(count = ???) as an extra argument.
-
def
createStepOutLineRequest(threadReference: ThreadReference, extraArguments: JDIRequestArgument*): Try[String]
Creates a new step request to step only into caller frames (in other words, exit the current frame of execution) for the next line location.
Creates a new step request to step only into caller frames (in other words, exit the current frame of execution) for the next line location.
Removes any existing step requests for the specified thread.
- threadReference
The thread where the step will occur
- extraArguments
The additional arguments to provide to the request
- returns
Success(id) if successful, otherwise Failure
- Note
Includes a default count filter of 1. This can be overridden by providing a CountFilter(count = ???) as an extra argument.
-
def
createStepOutMinRequest(threadReference: ThreadReference, extraArguments: JDIRequestArgument*): Try[String]
Creates a new step request to step only into caller frames (in other words, exit the current frame of execution) for the next possible location.
Creates a new step request to step only into caller frames (in other words, exit the current frame of execution) for the next possible location.
Removes any existing step requests for the specified thread.
- threadReference
The thread where the step will occur
- extraArguments
The additional arguments to provide to the request
- returns
Success(id) if successful, otherwise Failure
- Note
Includes a default count filter of 1. This can be overridden by providing a CountFilter(count = ???) as an extra argument.
-
def
createStepOverLineRequest(threadReference: ThreadReference, extraArguments: JDIRequestArgument*): Try[String]
Creates a new step request to step only into caller frames or the current frame (in other words, ignore any frames created by executing lines) for the next line location.
Creates a new step request to step only into caller frames or the current frame (in other words, ignore any frames created by executing lines) for the next line location.
Removes any existing step requests for the specified thread.
- threadReference
The thread where the step will occur
- extraArguments
The additional arguments to provide to the request
- returns
Success(id) if successful, otherwise Failure
- Note
Includes a default count filter of 1. This can be overridden by providing a CountFilter(count = ???) as an extra argument.
-
def
createStepOverMinRequest(threadReference: ThreadReference, extraArguments: JDIRequestArgument*): Try[String]
Creates a new step request to step only into caller frames or the current frame (in other words, ignore any frames created by executing lines) for the next possible location.
Creates a new step request to step only into caller frames or the current frame (in other words, ignore any frames created by executing lines) for the next possible location.
Removes any existing step requests for the specified thread.
- threadReference
The thread where the step will occur
- extraArguments
The additional arguments to provide to the request
- returns
Success(id) if successful, otherwise Failure
- Note
Includes a default count filter of 1. This can be overridden by providing a CountFilter(count = ???) as an extra argument.
-
def
createStepRequest(threadReference: ThreadReference, size: Int, depth: Int, extraArguments: JDIRequestArgument*): Try[String]
Creates and enables a step request for the given thread using the provided size (next valid location or next location on a new line) and depth (into, over, or out of the current frame).
Creates and enables a step request for the given thread using the provided size (next valid location or next location on a new line) and depth (into, over, or out of the current frame).
Removes any existing step requests for the specified thread.
- threadReference
The thread with which to perform the step
- size
The size of the step request (LINE/MIN)
- depth
The depth of the step request (INTO/OVER/OUT)
- extraArguments
Any additional arguments to provide to the request
- returns
Success(id) if successful, otherwise Failure
- Note
Includes a default count filter of 1. This can be overridden by providing a CountFilter(count = ???) as an extra argument.
-
def
createStepRequestFromInfo(stepRequestInfo: StepRequestInfo): Try[String]
Creates a step request based on the specified information.
Creates a step request based on the specified information.
- stepRequestInfo
The information used to create the step request
- returns
Success(id) if successful, otherwise Failure
-
def
createStepRequestWithId(requestId: String, threadReference: ThreadReference, size: Int, depth: Int, extraArguments: JDIRequestArgument*): Try[String]
Creates and enables a step request for the given thread using the provided size (next valid location or next location on a new line) and depth (into, over, or out of the current frame).
Creates and enables a step request for the given thread using the provided size (next valid location or next location on a new line) and depth (into, over, or out of the current frame).
Removes any existing step requests for the specified thread.
- requestId
The id of the request used for lookup and removal
- threadReference
The thread with which to perform the step
- size
The size of the step request (LINE/MIN)
- depth
The depth of the step request (INTO/OVER/OUT)
- extraArguments
Any additional arguments to provide to the request
- returns
Success(id) if successful, otherwise Failure
- Note
Includes a default count filter of 1. This can be overridden by providing a CountFilter(count = ???) as an extra argument.
-
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] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newRequestId(): String
Generates an id for a new request.
Generates an id for a new request.
- returns
The id as a string
- Attributes
- protected
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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( ... )