-
Notifications
You must be signed in to change notification settings - Fork 1
mint.stacktrace
load mint.stacktrace
This module provides tools to access the stacktrace.
This class provides a stack frame informations about an exception's stacktrace.
| Modifiers | Member | Description |
|---|---|---|
const |
getLineNumber | Returns the line number as a number. |
const |
getModuleId | Returns the module ID as a number. |
const |
getModuleName | Returns the module name as a string. |
const |
getSourceLine | Returns the line content as a string. |
const |
getSystemFileName | Returns the module file name in the filesystem as a string. |
const |
getSystemPath | Returns the module path in the filesystem as a string. |
const |
new | Creates an new stack frame for the module with ID moduleId, named moduleName ... |
const |
toString | Returns the string representation of the stack frame. |
| Modifiers | Member | Description |
|---|---|---|
final |
d_ptr | Object data. |
@ const
|
g_lib | Global library handle. |
null
Object data.
lib ('libmint-mint')
Global library handle.
def (const self)
Returns the line number as a number.
def (const self)
Returns the module ID as a number.
def (const self)
Returns the module name as a string.
def (const self)
Returns the line content as a string.
def (const self)
Returns the module file name in the filesystem as a string.
def (const self)
Returns the module path in the filesystem as a string.
def (self, moduleId, moduleName, lineNumber)
Creates an new stack frame for the module with ID moduleId, named moduleName at line lineNumber.
def (self, moduleName, lineNumber)
Creates an new stack frame for the module named moduleName at line lineNumber.
def (const self)
Returns the string representation of the stack frame.
def ()
Returns the current stacktrace as an array of StackFrame. The array starts from the oldest call to the most recent
one. If the threadId parameter is given, the stacktrace of the thread * with the given id is used; otherwise the
current thread is used.
- Introduction
- Variables
-
Built-in-types
- Built-in-types#none
- Built-in-types#null
- Built-in-types#boolean
- Built-in-types#number
- Built-in-types#string
- Built-in-types#regex
- Built-in-types#array
- Built-in-types#hash
- Built-in-types#iterator
- Built-in-types#async_iterator
- Built-in-types#package
- Built-in-types#function
- Built-in-types#coroutine
- Built-in-types#library
- Built-in-types#libobject
- Arithmetic-operations
- Type-casting
- Control-structures
- Function-definition
- User-defined-types
- Work-with-modules