Hello Guest it is April 26, 2024, 02:00:34 AM

Author Topic: All my macros run in debug but not in MDI or Gcode  (Read 1384 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?