Hello Guest it is June 15, 2025, 04:19:20 PM

Author Topic: All my macros run in debug but not in MDI or Gcode  (Read 5260 times)

0 Members and 1 Guest are viewing this topic.

All my macros run in debug but not in MDI or Gcode
« on: August 06, 2020, 03:06:51 PM »
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?