breakpoint

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
breakpoint
Summary

Pauses the handler and displays the debugger window.

Introduced1.0
OSmac, windows, linux
Platformsdesktop, server
Example
breakpoint
if x > 0 then breakpoint
RelatedCommand: answer, do
Glossary: value, handler, range, development environment, execute, debugger, debug, command
Object: stack
Description

Use the breakpoint command to aid in debugging a handler. It is especially useful for checking to see whether values are staying in the correct range as the handler executes.

The breakpoint command has no effect unless the stack is running in the LiveCode development environment..