Machsupport Forum

Mach Discussion => Mach4 General Discussion => Mach4 Toolbox => Topic started by: Sameas on August 06, 2020, 03:06:51 PM

Title: All my macros run in debug but not in MDI or Gcode
Post by: Sameas 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?