SetBreakpointOnCurrentLine command: Difference between revisions
(Created page with "__TOC__ {| |width="50%"| '''Action:''' |width="50%"| <span class="f_Para">Sets a breakpoint on the currently selected line in th...") |
No edit summary |
||
Line 28: | Line 28: | ||
<span class="f_CodeExampleTable" style="font-size: 12px;">setStatusMessage &message </p> | <span class="f_CodeExampleTable" style="font-size: 12px;">setStatusMessage &message </p> | ||
<span class="f_Para">To clear a breakpoint that is set on the current line, you can use the </span><span class="f_Monospace">[[ | <span class="f_Para">To clear a breakpoint that is set on the current line, you can use the </span><span class="f_Monospace">[[ClearBreakpointOnCurrentLine command|clearBreakpointOnCurrentLine]]</span><span class="f_Para"> command or the </span><span class="f_Monospace">toggleBreakpointOn</span><span class="f_Para"> command. </span> | ||
<span class="f_Para">See also the </span><span class="f_Monospace">[[ | <span class="f_Para">See also the </span><span class="f_Monospace">[[BreaksAt command|breaksAt]]</span><span class="f_Para"> and </span><span class="f_Monospace">[[Breaks command|breaks]]</span><span class="f_Para"> commands. </span> | ||
|- | |- | ||
| '''Client menu:''' | | '''Client menu:''' |
Revision as of 18:43, 9 July 2022
Action: |
Sets a breakpoint on the currently selected line in the Source Code (or Daemon) page; if the currently selected line is not an executable statement, sets a breakpoint on the next executable line after the currently selected line. Syntax: setBreakpointOnCurrentLine Notes:
For code lines for which no breakpoint is already set, the toggleBreakpointOn command has the same effect as the setBreakpointOnCurrentLine command, and both commands have the same effect as double clicking a code line or right clicking a line and selecting Toggle Breakpoint from the context menu. Example: This macro looks for a line that matches its argument; if it finds such a line, it sets a breakpoint on it: selectsourcetab To clear a breakpoint that is set on the current line, you can use the clearBreakpointOnCurrentLine command or the toggleBreakpointOn command. |
Client menu: | -- |
Introduced: | Build 57 |