debugDo

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
debugDo <statementList>
Summary

Executes a list of statements with additional debugging information when in the debugger.

Introduced1.0
OSmac, windows, linux
Platformsdesktop, server
Parameters
NameTypeDescription
statementList

A LiveCode statement, a container with one or more statements, or a string that evaluates to a statement.

Example
debugDo "beep"
debugDo commandsList
RelatedKeyword: message box
Property: traceReturn, traceStack, traceDelay
Command: send, do
Function: value
Glossary: variable, handler, execute, statement, local variable, debugger, debug, command
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 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's value is the current value in the handler that the debugger is executing. This capability is useful if you want to track the current value of a variable in a handler you're debugging.

Important: The details of this command may change in future releases.