Having more than a little experience writing debuggers, may I suggest
that trying to force a debugger interface in SQL, designed for a
completely different problem set, is perhaps not the best solution.
My multi-node debugger consists of a debug agent using ptrace, ELF, and
DWARF, and a GUI (originally MFC now Java). The protocol is
request/response exchanges between the client and the agent using XML.
XML works particularly well as it is platform independent, infinitely
extensible, and allows either end to ignore things that it may not
understand. Extensibility is exceptionally important.
There is nothing magic about Java other than it has a well defined an
portable GUI.
My multi-node debugger is pure point and click. I has been my strong
option for about 45 years that CLI based debuggers suck.
--
Jim Starkey