Help Center/ GaussDB/ Distributed_8.x/ Schemas/ DBE_PLDEBUGGER Schema/ DBE_PLDEBUGGER.add_breakpoint
Updated on 2024-06-03 GMT+08:00

DBE_PLDEBUGGER.add_breakpoint

During debugging on the debug end, call add_breakpoint to add a breakpoint. If –1 is returned, the specified breakpoint is invalid. Determine a proper breakpoint position by referring to the canbreak column. If the outer function does not have a breakpoint before entering the inner function, a breakpoint cannot be added to the outer function when the inner function is executed, as described in Table 1.

Table 1 add_breakpoint input parameters and return values

Name

Type

Description

funcoid

IN text

Function ID.

lineno

IN integer

Line number.

breakpointno

OUT integer

Breakpoint number.