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

The Log Files

The .NET Compact Framework runtime version 2.0 can create diagnostic text files on the target while your application is running. These log files contain information that can help debug four areas: loading, interop, networking, and error.

Before looking at each area, you must enable logging globally through the registry on the device. Use Remote Registry Editor or some other device registry editing tool of your choice.

  1. Navigate to HKLM\Software\Microsoft\.NETCompactFramework\. If it doesn't exist, create a key named Diagnostics. Under that key, create a key named Logging.

  2. Under the Logging key, create a new DWORD value: Enabled. Set it to 1. Logging is now enabled.

  3. Optionally, create three additional DWORD values (described later) as ...

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