M98 P"macroname" for debugging?
I've made a few mistakes while implementing variables and conditionals in my toolchange macros.
I tried to debug them by running M98... as I do with config.g, but M98 doesn't really debug the code:
when there is a if-condition not 'true' it doesn't analyze the lines below.
My wish: add a real debug parameter to M98 and (in case of toolchanges) when there are several macros called, name the macro in the error-message when it pops up in the console.
Thanks in advance
Maybe 'debugging' is the wrong term, it's more like a syntax check I ask for.
Naming the macro has been difficult in the past; but RRF now has a garbage-collected compacting heat for strings, so it's now easier. I will add this to the wishlist.
What about a syntax-check going through all the lines and sub-macros?