Go to: Return value. Flags. Examples.

Synopsis

stackTrace [-q] [flags]

This command controls the mel stack trace.

Return value

int : in query mode to return state

Flags

dump, query, state

Long name (short name)[argument types]Properties
-state (-s) booleanquerycreate
Turns displaying the stack trace on or off.
-query (-q) query
Allows you to query one of the above values.
-dump (-d) query
Dumps the current stack.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command

Examples

    // Have the stack trace show up on script errors
    stackTrace -state on;
    // No stack trace
    stackTrace -state off;