public interface CallStackFrame
Since JDI interfaces evolve from one version to another, it's strongly recommended not to implement this interface in client code. New methods can be added to this interface at any time to keep up with the JDI functionality.
Modifier and Type | Method and Description |
---|---|
List<String> |
getAvailableStrata()
Returns name of default stratum.
|
String |
getClassName()
Returns class name of this stack frame.
|
EditorContext.Operation |
getCurrentOperation(String struts)
Returns the current operation (if any) at the location of this call stack frame.
|
String |
getDefaultStratum()
Returns name of default stratum.
|
int |
getFrameDepth()
Get the depth of this stack frame.
|
int |
getLineNumber(String struts)
Returns line number associated with this stack frame.
|
LocalVariable[] |
getLocalVariables()
Returns local variables.
|
String |
getMethodName()
Returns method name associated with this stack frame.
|
List<MonitorInfo> |
getOwnedMonitors()
Get the list of monitors aquired in this frame
|
String |
getSourceName(String struts)
Returns name of file this stack frame is stopped in.
|
String |
getSourcePath(String stratum)
Returns source path of file this frame is stopped in or null.
|
This |
getThisVariable()
Returns object reference this frame is associated with or null (
frame is in static method).
|
JPDAThread |
getThread()
Returns thread.
|
boolean |
isObsolete()
Returns
true if this frame is obsoleted. |
void |
makeCurrent()
Sets this frame current.
|
void |
popFrame()
Pop stack frames.
|
int getLineNumber(String struts)
struts
- a language name or null for default languageint getFrameDepth()
EditorContext.Operation getCurrentOperation(String struts)
struts
- a language name or null for default languagenull
otherwiseString getMethodName()
String getClassName()
String getDefaultStratum()
List<String> getAvailableStrata()
String getSourceName(String struts) throws com.sun.jdi.AbsentInformationException
struts
- a language name or null for default languagecom.sun.jdi.AbsentInformationException
- if information about source is not
included in class fileString getSourcePath(String stratum) throws com.sun.jdi.AbsentInformationException
com.sun.jdi.AbsentInformationException
LocalVariable[] getLocalVariables() throws com.sun.jdi.AbsentInformationException
com.sun.jdi.AbsentInformationException
This getThisVariable()
void makeCurrent()
JPDADebugger.getCurrentCallStackFrame()
boolean isObsolete()
true
if this frame is obsoleted.true
if this frame is obsoletedvoid popFrame()
JPDAThread getThread()
List<MonitorInfo> getOwnedMonitors()