M98 P"macroname" for debugging?
-
Hi gents,
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
o_lampe -
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.
-
@dc42
Good news!
What about a syntax-check going through all the lines and sub-macros? -
@o_lampe said in M98 P"macroname" for debugging?:
@dc42
Good news!
What about a syntax-check going through all the lines and sub-macros?That would be a lot more complicated to do.