A newer version of Max is available. Click here to access the latest version of the Max documentation

Debugging Max Patchers

Debugging Max Patchers

Data flow in a Max patcher can sometimes get extremely complex and confusing. When that happens, one way you can examine data flow is by using the built-in debugging tools in Max. These tools, which are available via the Debug Menu and also from within the contextual menu in Max, allow a programmer to "Step through" code and observe data flow using breakpoints and monitors.

Tools for Monitoring Activity

Tools for Observing Patch Execution

  • Break Watchpoints stop the execution of a patch at a specific place, permitting you to step through it
  • The debug window provides information about the current execution "stack"

See Also

Name Description
Max Basic Tutorial 5: Message Order and Debugging Max Basic Tutorial 5: Message Order and Debugging
Error Messages Error Messages