Comments on: Stored procedure debugging in MySQL http://www.xaprb.com/blog/2012/11/01/stored-procedure-debugging-in-mysql/ Stay curious! Thu, 02 May 2013 12:36:53 +0000 hourly 1 http://wordpress.org/?v=3.5.1 By: Shlomi Noach http://www.xaprb.com/blog/2012/11/01/stored-procedure-debugging-in-mysql/#comment-37588 Shlomi Noach Wed, 10 Apr 2013 18:05:07 +0000 http://www.xaprb.com/blog/?p=2945#comment-37588 (seems like previous comment is lost)

I’ve just released rdebug: debugger and debugging API for MySQL stored routines, as part of common_schema.

This is a server-side solution, which uses code injection to turn one’s routines in to “debug mode”.

It is GPL, in alpha stage, and a quick walk-through is here.

I’m happy to receive any feedback on this.

]]>
By: Shlomi Noach http://www.xaprb.com/blog/2012/11/01/stored-procedure-debugging-in-mysql/#comment-37587 Shlomi Noach Wed, 10 Apr 2013 17:18:17 +0000 http://www.xaprb.com/blog/?p=2945#comment-37587 I have implemented a server-side debugger & debugging API for MySQL stored routines, called “rdebug” as part of common_schema.

Here’s a quick tutorial.

It’s released under GPL, and currently non-GUI. Hopefully someone will venture to code an Eclipse plugin or whatever, that uses this API. However I should note that it is operational by command line; the GUI will only be a wrapper.

]]>
By: Peter Gulutzan http://www.xaprb.com/blog/2012/11/01/stored-procedure-debugging-in-mysql/#comment-20388 Peter Gulutzan Wed, 07 Nov 2012 01:01:47 +0000 http://www.xaprb.com/blog/?p=2945#comment-20388 Hi Baron,
We have an open-source debugger for MariaDB/MySQL.
http://h71028.www7.hp.com/enterprise/cache/600004-0-0-0-121-MDbug.html
Download from https://launchpad.net/mdbug/trunk.
We’re fairly quiet about it because it’s early alpha, only the low-level (“gdb like”) part operates, and it will be a while before work resumes. But you can get the idea of how it works from the documentation, debugger.txt and debuggercore_manual.txt.

]]>
By: Peter Laursen http://www.xaprb.com/blog/2012/11/01/stored-procedure-debugging-in-mysql/#comment-20374 Peter Laursen Fri, 02 Nov 2012 12:46:55 +0000 http://www.xaprb.com/blog/?p=2945#comment-20374 Sorry .. I forgot one detail:

What I saw years back are rather ‘emulators’ than ‘debuggers’.

If a debugger “use some workarounds to inject debugging code into the routines” .. then it matters a lot if the routine only executes SELECTS or also INSERT/UPDATE/DELETES, DDL statements and changes configuration during runtime.

An ‘emulator’ will replace physical tables with temporary tables, locally declared variables with user variables etc. in order not to touch the “real” data.

]]>
By: Peter Laursen http://www.xaprb.com/blog/2012/11/01/stored-procedure-debugging-in-mysql/#comment-20373 Peter Laursen Fri, 02 Nov 2012 12:28:43 +0000 http://www.xaprb.com/blog/?p=2945#comment-20373 @Baron ..

It is rather “Stored procedure debugging in MySQL?” and not “Stored procedure debugging in MySQL”. The difference is a question mark! :-)

Lots of good questions. No proper answer yet! And that is too bad IMO.

refer:
http://blog.webyog.com/2011/12/06/debugging-stored-programs-in-mysql/

]]>