DBE_PLDEBUGGER.attach
When the server executes a stored procedure, the server hangs the execution before the first statement and waits for attaching with the debug end. The debug end invokes the attach function and transfers node name and port number to attach with the specified stored procedure, as described in Table 1.
If an error is reported during debugging, the attach operation automatically becomes invalid. If the debug end is attached to another stored procedure during debugging, the debugging of the attached stored procedure becomes invalid. If the attach operation is performed repeatedly, the current stored procedure is disconnected.
Name |
Type |
Description |
---|---|---|
nodename |
IN text |
Node name. |
port |
IN integer |
Connection port number. |
funcoid |
OUT oid |
Function ID. |
funcname |
OUT text |
Function name. |
lineno |
OUT integer |
Number of the next line in the current debugging process. |
query |
OUT text |
Source code of the next line of the function that is being debugged. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot