Using the Debugger

The .NET Compact Framework debugger is a powerful tool for fixing problems in application programs. Specifically, you can use the debugger to

  • Set breakpoints in programs on a line or a program condition.

  • Single-step the application or run it to another breakpoint.

  • Examine the values of expressions and modify the contents of variables.

  • Alter the execution sequence of your program.

Debugging an Example Application

To illustrate the debugger, the example application shown in Figure 5-1 will be used. Quadratic Equation Solver is a simple Pocket PC application that solves quadratic equations.

Quadratic Equation Solver application.

Figure 5-1. Quadratic Equation Solver application. ...

Get Microsoft® .NET Compact Framework (Core Reference) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.