
Debugging Your Application
NS Debug Tools
NTK comes with a package which contains extra debugging functionality. This package is called "NS Debug Tools.pkg" (in NTK's Newton Debug Tools folder). In order to do effective debugging, this package must be installed on your Newton. In addition, you must open the application and turn on the "Enable breakpoints" checkbox (see FIGURE 8.11). Note that when the checkbox is off, the icon for the package has a circle and slash through it, while if the checkbox is on, the icon has no such detritus.

FIGURE 8.11 : Enabling breakpoints in ns Debug Tools.
Note:
When "Enable breakpoints" is on, you can debug better, but the NewtonScript interpreter runs slower. Therefore, when you aren't debugging, turn "Enable breakpoints" off.
From here on out, we'll assume you've got this package downloaded and breakpoints enabled.
An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.
Last modified: 1 DEC 1996