Updated on 2024-06-03 GMT+08:00

DBE_PLDEBUGGER.backtrace

If the server is suspended due to an error reported by the stored procedure, you can call error_backtrace on the debug end to view the current function call stack, as described in Table 1. (This function is used only for suspension after an error is reported.)

Table 1 error_backtrace return values

Name

Type

Description

frameno

OUT integer

Call stack ID.

funcname

OUT text

Function name.

lineno

OUT integer

Line number.

query

OUT text

Breakpoint content.

funcoid

OUT oid

Function OID.