|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents one stack frame.
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.
Method Summary | |
List |
getAvailableStrata()
Returns name of default stratumn. |
String |
getClassName()
Returns class name of this stack frame. |
String |
getDefaultStratum()
Returns name of default stratumn. |
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. |
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. |
Method Detail |
public int getLineNumber(String struts)
struts
- a language name or null for default language
public String getMethodName()
public String getClassName()
public String getDefaultStratum()
public List getAvailableStrata()
public String getSourceName(String struts) throws com.sun.jdi.AbsentInformationException
struts
- a language name or null for default language
NoInformationException
- if information about source is not
included in class file
com.sun.jdi.AbsentInformationException
public String getSourcePath(String stratum) throws com.sun.jdi.AbsentInformationException
com.sun.jdi.AbsentInformationException
public LocalVariable[] getLocalVariables() throws com.sun.jdi.AbsentInformationException
com.sun.jdi.AbsentInformationException
public This getThisVariable()
public void makeCurrent()
public boolean isObsolete()
true
if this frame is obsoleted.
true
if this frame is obsoletedpublic void popFrame()
public JPDAThread getThread()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |