macro debugging?
-
Is it possible to single step through a macro or an extension that will import a macro and allow you to execute commands line by line?
-
@wayneosdias I don't believe so, other than manually issuing each line
-
@jay_s_uk
Thanks. It probably wouldn't help much of the community if there was. I need to manually motion plan 4 axis machines for gasketing /sealing processes. In searching the forum for edge finding routines, posters doing similar would benefit from a 'step-through' macro mechanism.I can easily write a winform/excel file importer/serial sender, but thought a baked in DWC extension capable of the same would be nice. Currently I just copy/paste to the DWC dashboard sender. It works, but is clumsy and requies I keep a redundant text file copy that needs to be reconciled with the actual macro stored on the machine.
-
@wayneosdias looks like step through is on the feature request list but it doesn't have a milestone added yet.
https://github.com/Duet3D/RepRapFirmware/issues/705 -
You can write a macro that will wait for some user action and then call it from the places where you want to stop halt your tested macro.
https://forum.duet3d.com/topic/12897/wait-for-input
https://docs.duet3d.com/User_manual/Reference/Gcodes