rdebug_start
NAME
rdebug_start(): Attach debugger to worker; begin a debugging session.TYPE
ProcedureDESCRIPTION
This procedure is part of the rdebug API.
rdebug_start() starts a debugging process by instruction the current session (the debugger) to attach itself to another session (the worker).
The session/connection issuing rdebug_start() automatically assumes the role of the debugger. A debugger may only debug one worker at a time. A second call to rdebug_start() will override the previous one and cancel any debug info the current session may possess, starting afresh.
A worker session may only be debugger by a single debugger. An error is thrown when attempting to debug an already attached worker.
One should call upon rdebug_start() after compiling a routine or more with debug mode, and opening a worker connection.
SYNOPSIS
rdebug_start( recipient_id int unsigned ) MODIFIES SQL DATA
Input:
- recipient_id: ID of the session we wish to debug; the worker, which receives instructions from this debugger session.