A newer version of Max is available. Click here to access the latest version of this document.
A watchpoint is an action you can attach to a patch cord. A monitor watchpoint is orange. It lets you monitor messages being sent through a patch cord. A break watchpoint is red. It suspends execution of your patch and opens the debug window. A watchpoint can, if desired, break and monitor at the same time. More information on break watchpoints and stepping through patches using the debugger.
The Watchpoints window shows all currently defined watchpoints. To see it, choose Watchpoints from the Debug menu.
About the Watchpoints window:
The left column lists each current watchpoint, with color indicating its type and status.
The Action column contains a pop-up menu for each watchpoint. You can change the type of watchpoint associated with this number (watch, break, or watch/break) or disable the watchpoint by choosing none.
The Sender column lists the source of the message to the watchpoint.
The Patcher column lists the name of the patcher where the watchpoint is located.
The Value column displays any messages a watchpoint receives.
The Count column displays the number of messages received by a watchpoint since it was inserted or made active.
When the watchpoint mode is set to watch/break, the History column displays the three most recent messages received by a watchpoint

Adding a watchpoint

Removing a watchpoint
You can remove all the watchpoints currently defined by choosing Remove All Watchpoints from the Debug menu.

Disabling a watchpoint

Watchpoints are not saved when you quit Max. However, you can configure Max so that any watchpoints currently defined in a patcher are saved with it.
Configuring Max to save watchpoints with patchers
Once this option has been enabled, any watchpoints defined when you save a patcher will be restored when the patcher is reopened. You may wish to disable this option before saving a patch you intend to distribute to friends.