StackFrameImpl

Represents a generic entry in a stack trace, be it originally from JS or Java.

Functions

Link copied to clipboard
open fun getColumn(): Int
Get the column this frame points to in the file returned by getFile.
Link copied to clipboard
open fun getFile(): String
Get the file this stack frame points to.
Link copied to clipboard
Get just the name of the file this frame points to.
Link copied to clipboard
open fun getLine(): Int
Get the line number this frame points to in the file returned by getFile.
Link copied to clipboard
open fun getMethod(): String
Get the name of the method this frame points to.
Link copied to clipboard
open fun isCollapsed(): Boolean
Whether this frame is collapsed.
Link copied to clipboard
open fun toJSON(): JSONObject
Convert the stack frame to a JSON representation.