r/mysql • • Aug 12 '26

discussion MySQL / Mariadb routine debugger

Hi all,

I’ve released an open-source stored-routine debugger for MySQL and MariaDB, with standalone, VS Code, and NetBeans frontends. It features standard debugging controls like breakpoints, stepping in/out, watches ec...

I’m looking for testers across different MySQL/MariaDB versions and routine styles. Feedback and compatibility reports are very welcome.

Github : https://github.com/rk22-projects/mysql-routine-debugger

VS Code marketplace : https://marketplace.visualstudio.com/items?itemName=RK22.mysql-routine-debugger

rk22

7 Upvotes

7 comments sorted by

1

u/Jonas_Ermert Aug 13 '26

My opinion is that this looks like a really useful project. Debugging stored procedures and functions in MySQL/MariaDB can be pretty painful, so having breakpoints, stepping, and watches directly in VS Code could make things much easier. I’d especially be interested in how well it handles nested procedures and error handlers.

1

u/rk22_sf Aug 13 '26

Error handlers should be handled just fine. Support for nested procedures is - in the current alpha project stage - limited. It currently handles 1 level deep "step-into" debugging. However, it is on the project's roadmap to support full nested procedures and/or recursive procedure/function calls.

2

u/mtetrode Aug 12 '26

Nice! As it is in java a Jetbrains plugin would be relatively easy to make I think.

Unfortunately I don't have much java skills ...

2

u/Gullible-Hornet1727 Aug 13 '26

Thanks for your reply. You're absolutely right. The project was designed to support easy addition of frontends. I'm not really familiair with jetbrains, but will look into It.

Feel free to test the released version. It requires no Java skills at all.

1

u/jhkoenig Aug 12 '26

Looks interesting. Thanks for releasing it. I will check it out

1

u/Fun-Friendship-2205 Aug 15 '26

Looks like a really useful project. Will check it out.