Running in Debug Mode

Run your application in debug mode to test its execution.

There are many ways to control execution in the debugger; you can specify that it execute the application and stop either at each line (stepping), or at locations that you set (breakpoints). When execution halts temporarily at a line or breakpoint, use the debugger functions to examine the application at that point. When you are done examining the application context, tell the debugger to continue executing to the next line or breakpoint. You can execute through an entire application in this controlled way.

During your debugger session, your application is either running or it is in break mode. Most debugger functions are available only in break mode.

During debugging, you cannot edit your application: you can examine its status, add and remove breakpoints, and even modify variable values, but you cannot modify the code. You must end the debugger session and return to design mode in .