public interface StackFrame
Modifier and Type | Method and Description |
---|---|
int |
getColumn()
Get the column this frame points to in the file returned by
getFile() . |
java.lang.String |
getFile()
Get the file this stack frame points to.
|
java.lang.String |
getFileName()
Get just the name of the file this frame points to.
|
int |
getLine()
Get the line number this frame points to in the file returned by
getFile() . |
java.lang.String |
getMethod()
Get the name of the method this frame points to.
|
boolean |
isCollapsed()
Whether this frame is collapsed.
|
org.json.JSONObject |
toJSON()
Convert the stack frame to a JSON representation.
|
java.lang.String getFile()
JS traces return the full path to the file here, while Java traces only return the file name (the path is not known).
java.lang.String getMethod()
int getLine()
getFile()
.int getColumn()
getFile()
.java.lang.String getFileName()
For JS traces this is different from getFile()
in that it only returns the file
name, not the full path. For Java traces there is no difference.
boolean isCollapsed()
org.json.JSONObject toJSON()