forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbreakpoint.lcdoc
More file actions
34 lines (22 loc) · 819 Bytes
/
breakpoint.lcdoc
File metadata and controls
34 lines (22 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Name: breakpoint
Type: command
Syntax: breakpoint
Summary:
Pauses the <handler> and displays the <debugger> window.
Introduced: 1.0
OS: mac, windows, linux
Platforms: desktop, server
Example:
breakpoint
Example:
if x > 0 then breakpoint
Description:
Use the <breakpoint> <command> to aid in <debug|debugging> a handler. It
is especially useful for checking to see whether <value|values> are
staying in the correct <range> as the <handler> <execute|executes>.
The <breakpoint> <command> has no effect unless the <stack> is running
in the LiveCode <development environment>..
References: answer (command), do (command), value (glossary),
handler (glossary), range (glossary), development environment (glossary),
execute (glossary), debugger (glossary), debug (glossary),
command (glossary), stack (object)