Class DebugValue


public abstract class DebugValue extends Object
Represents a value accessed using the debugger API. Please note that values can become invalid depending on the context in which they are used. For example stack values will only remain valid as long as the current stack element is active. Heap values on the other hand remain valid. If a value becomes invalid then setting or getting a value will throw an IllegalStateException . DebugValue instances neither support equality or preserve identity.

Clients may access the debug value only on the execution thread where the suspended event of the stack frame was created and notification received; access from other threads will throw IllegalStateException.