O'Reilly logo

Microsoft® Mobile Development Handbook by Peter Foot, Daniel Moth, Andy Wigley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Catching Errors, Testing, and Debugging

In this Chapter:

Connecting to a Target 143

Compile-Time Errors 150

Exception Handling: Same as the Full .NET Framework 153

Runtime Exceptions 156

Global Exception Handling 167

Some Exceptions Worthy of Further Mention 171

The Log Files 176

Instrumentation 180

Unit Testing 186

This chapter discusses how to connect to an emulator or real device so that you can debug your code during development. You learn what kind of errors can occur at run time and how you should code your applications to trap and respond to exceptions. You also learn about the different log files that the Microsoft .NET Compact Framework runtime can generate and how you can use them to diagnose specific problems, and you learn about instrumentation—how ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required