I made a macro m112() in the appropriate folder ..profiles/my profile/macros and debug it in zerobrane.
it does only one thing, a SetLastError which it does in the debugger. It seems to be skipped over if invoked from MDI or any Gcode file.
I delete all the .mcc files in the folder and restart Mach4 after each edit and debug cycle.
Same if I try to display a message box, dialog, or logging command.
I am using Mach4 Hobby.
How can I get my macros to execute from MDI or Gcode?