Skip to content

Commit 2974a94

Browse files
Update help page for [ci-skip]
1 parent 23f4e0d commit 2974a94

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

internal/help/$DEBUG.txt

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88

99
{{PageDescription}}
10-
* $DEBUG injects extra code in the resulting binary, allowing the IDE to control the execution flow of your program.
11-
* When $DEBUG is used, the IDE will connect to your running program using a local TCP/IP connection.
10+
* '''$DEBUG''' injects extra code in the resulting binary, allowing the IDE to control the execution flow of your program.
11+
* When '''$DEBUG''' is used, the IDE will connect to your running program using a local TCP/IP connection.
1212
** You may get a prompt from your Operating System regarding this, so it may be necessary to allow the IDE to receive connections.
1313
** No external connections are created, and your running program will only attempt to connect locally to the IDE.
1414
* The default TCP/IP port starts at 9001. Multiple running instances of the IDE will attempt to open ports 9002 and up.
@@ -17,21 +17,22 @@
1717
** The only drawback of leaving the metacommand in is that your binary will end up being larger than required.
1818

1919
== $DEBUG Mode Operation ==
20-
* To start execution in pause mode, you can use F7 or F8.
20+
* To start execution in pause mode, you can use '''F7''' or '''F8'''.
2121
* There will be an arrow next to the line number where execution is paused, indicating the next line that will be run.
22-
* When you enable $DEBUG mode, you can set breakpoints by clicking the line number at which you wish to stop execution. This can also be achieved by using the F9 key.
22+
* When you enable '''$DEBUG''' mode, you can set breakpoints by clicking the line number at which you wish to stop execution. This can also be achieved by using the '''F9''' key.
2323
** Breakpoints are indicated by a red dot next to the line number.
24-
** To clear all breakpoints, hit F10.
24+
** To clear all breakpoints, hit '''F10'''.
2525
* To skip a line during execution, shift-click a line number
2626
** Lines marked for skipping are indicated by an exclamation mark next to the line number.
27-
* F4 opens the Variable List dialog, which allows you to add variables to the Watch List.
27+
* '''F4''' opens the Variable List dialog, which allows you to add variables to the Watch List.
2828
* During execution, the Variable List dialog also allows you to set the values of variables and also to create Watchpoints.
2929
* Watchpoints halt execution, similarly to breakpoints, but do so when a variable matches the condition you specify.
3030
** You can use relational operators (=, <>, >=, <=, >, <) to create watchpoint conditions.
31-
* F6 can be used when the execution pointer is inside a sub/function. When used, execution will proceed until the procedure is ended.
32-
* F7 can be used to run line by line (Step Into).
33-
* F8 can be used to run line by line without entering sub/function calls (Step Over).
34-
* F12 can be used to show the current call stack (which procedure calls led to the current line).
31+
* After a breakpoint or a watchpoint is reached, '''F5''' can be used to continue execution.
32+
* '''F6''' can be used when the execution pointer is inside a sub/function. When used, execution will proceed until the procedure is ended.
33+
* '''F7''' can be used to run line by line, and can be used to debug code inside subs/functions (Step Into).
34+
* '''F8''' can be used to run line by line without entering sub/function calls (Step Over).
35+
* '''F12''' can be used to show the current call stack (which procedure calls led to the current line).
3536

3637

3738
{{PageSeeAlso}}

0 commit comments

Comments
 (0)