{"identifier":13231,"topic":"Editing scripts","name":"Debug a script","text":" HyperCard provides some useful tools for troubleshooting your scripts. These debugging tools let you step through a handler line by line as it runs, inspect the values of variables, and trace the flow of messages. <br><br>\n\n To debug a handler, follow these steps: <br><br>\n\n 1. Open the script that contains the      message or function handler you      want to debug. <br>\n<br>\n 2. Click to place the insertion point      on the line with the<code> on <\/code>or<code> function  <\/code>    statement that defines the handler. <br><br>\n\n     Or, depending on where you want     to start, place the insertion point     on any statement of the handler     that is not a comment. <br>\n","related":{"18600":null,"53830":null,"5882":null,"5960":null,"34213":"debug","92176":"debugger","94238":"traceDelay"},"examples":"","demo":"<br><br>\n\n ","debug":{"9":["\rHyperCard provides "],"10":["\r2. Click to place t"]}}