|
|
Exception stack trace test added (related to bug in $1062)
@main[]
^try{
^no-such-method[]
}{
^method[]
}
@method[]
^no-such-method2[]
@unhandled_exception[exception;stack]
Unhandled Exception: $exception.type
Source: $exception.source
Comment: $exception.comment
^if(def $exception.file){File: ^exception.file.match[.*/][]{}^(${exception.lineno}:$exception.colno^)}
^if($stack){^stack.menu{ $stack.name ^stack.file.match[.*/][]{}^(${stack.lineno}:$stack.colno^)
}}