StackFrame

interface StackFrame

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

Inheritors

Properties

Link copied to clipboard
abstract val column: Int

Get the column this frame points to in the file returned by .getFile.

Link copied to clipboard
abstract val file: String?

Get the file this stack frame points to.

Link copied to clipboard
abstract val fileName: String?

Get just the name of the file this frame points to.

Link copied to clipboard
abstract val isCollapsed: Boolean

Whether this frame is collapsed.

Link copied to clipboard
abstract val line: Int

Get the line number this frame points to in the file returned by .getFile.

Link copied to clipboard
abstract val method: String

Get the name of the method this frame points to.

Functions

Link copied to clipboard
abstract fun toJSON(): JSONObject

Convert the stack frame to a JSON representation.