The IDE debugger will pause when it reaches a line with a breakpoint set.

 

You can set a breakpoint either through the menu, the toolbar, or by moving the mouse cursor to the left margin of a line and left-clicking. You can only set a breakpoint on an executable line (i.e., not on a blank line, comment, label, etc.),

 

You can define conditional breakpoints by specifying the number of iterations before the breakpoint is triggered, and/or define a conditional expression that must be true before the breakpoint is triggered. After setting the breakpoint, enter the conditions either by right-clicking on the breakpoint and selecting "Break >=" (to set the minimum number of iterations), or "Condition" (to set the conditional expression). You can also select the Breakpoint window and double-click on the "Break >=" or "Condition" columns to edit or modify the conditions.

 

You can temporarily disable a breakpoint (without deleting it) by right-clicking on the breakpoint and selecting "Enable/Disable Breakpoint". You can disable all breakpoints by clicking on the Debug menu and selecting "Disable All Breakpoints".

 

The breakpoint window has a toolbar, with the following buttons:

 

NewRestore the original values for the breakpoints list
OpenAdd the contents of a file to the breakpoints list
SaveSave the current breakpoints list to a file
ApplyReplace the original values with the modified breakpoints list
PrintPrint the current breakpoints list
CutCopy the highlighted selection to the clipboard and delete it from the breakpoints
Copy Copy the highlighted selection to the clipboard
PasteCopy the contents of the clipboard to the current cursor location
DeleteDelete the highlighted selection (or the character at the cursor location if no selection)
UndoUndo the last edit
RedoRestore the last Undo
FindSearch for text
HelpDisplay the online help

 

The debugger will automatically save breakpoints (the current batch file name + ".bp"), and reload them the next time the batch file is loaded in the debugger.