Avoiding Problems with Breakpoint Conditions

To avoid unnecessary problems it is best to:

  • Validate breakpoint conditions as you create them.

  • Spell variable names exactly as they appear in the variable list, including spaces and special characters where present.

It is possible to set an invalid condition on a breakpoint. There may even be times when you would do this intentionally. Invalid conditions fail when evaluated. It is good practice to utilize the Validate Condition button to validate conditions as you create them.

Misspelled variable names are invalid, of course. The official spelling for all variables is shown in the Debugger's variable list.

Out-of-scope variables are invalid, depending on the context of the breakpoint in which the condition is set.

Any other syntax violations make an expression invalid.

The Debugger does not validate date and number formats. This validation is done at runtime, and may depend on certain User Options.