debug.ql

debug/debug.ql
Contents of the file.

Function Overview

Function Description
native fun functions() Prints out the functions in the current scope and all parents.
native fun functions(entityInstance) Prints out the functions in the given entity's scope and all parents.
native fun vars() Prints out the variables and their values in the current scope and all parents.
native fun vars(entityInstance) Prints out the variables and their values in the given entity's scope and all parents.
native fun bt() Prints out the current stacktrace of the program.
native fun backtrace() Prints out the current stacktrace of the program.

Functions

native fun functions() link

Prints out the functions in the current scope and all parents.

native fun functions(entityInstance) link

Prints out the functions in the given entity's scope and all parents.

Params
entityInstance

The instance of the entity to get the scope of

native fun vars() link

Prints out the variables and their values in the current scope and all parents.

native fun vars(entityInstance) link

Prints out the variables and their values in the given entity's scope and all parents.

Params
entityInstance

The instance of the entity to get the scope of

native fun bt() link

Prints out the current stacktrace of the program.

native fun backtrace() link

Prints out the current stacktrace of the program.