This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 227
Expand file tree
/
Copy pathdebugDo.lcdoc
More file actions
52 lines (37 loc) · 1.59 KB
/
debugDo.lcdoc
File metadata and controls
52 lines (37 loc) · 1.59 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Name: debugDo
Type: command
Syntax: debugDo <statementList>
Summary:
<execute|Executes> a list of <statement|statements> with additional
<debug|debugging> information when in the <debugger>.
Introduced: 1.0
OS: mac, windows, linux
Platforms: desktop, server
Example:
debugDo "beep"
Example:
debugDo commandsList
Parameters:
statementList:
A LiveCode statement, a container with one or more statements, or a
string that evaluates to a statement.
Description:
The <debugDo> <command> is used by LiveCode's <message box> and
<debugger>.
Normally, you should use the <do> <command>; consider using <debugDo>
only if you are writing a debugger or similar utility, or if you need to
<debug> the <statement|statement list> sent by a <do> command.
When the debugger is active, you can use <debugDo> to access <local
variable|local variables> using the <message box>. If you enter a
<debugDo> <statement> into the <message box>, and the <statement> refers
to a <local variable>, the <variable|variable's> <value> is the current
<value> in the <handler> that the <debugger> is <execute|executing>.
This capability is useful if you want to track the current <value> of a
<variable> in a <handler> you're <debug|debugging>.
>*Important:* The details of this <command> may change in future
> releases.
References: send (command), do (command), value (function),
variable (glossary), handler (glossary), execute (glossary),
statement (glossary), local variable (glossary), debugger (glossary),
debug (glossary), command (glossary), message box (keyword),
traceReturn (property), traceStack (property), traceDelay (property)