Debugging Applications

Whether your application is deployed to the hardware emulator or to an actual device, you have full debugging capabilities with Microsoft .NET Micro Framework. You can use essentially the same techniques in Visual Studio you would use for any other managed C# application. After you deploy a .NET Micro Framework application, you can debug it in Visual Studio using essentially the same techniques you would use for any other managed C# application. Whether your application is deployed to the hardware emulator or to an actual device, you can set breakpoints, step into or through code, watch the contents of variables change, and so forth.

The .NET Micro Framework does not support the following debugging scenarios:

  • Debugging static constructors
  • Debugging visualizers
  • Viewing a disassembly of a code module

Note

The Microsoft.SPOT.Debug class is disabled if you have a RTM rather than a Release build of the .NET Micro Framework.

Note

There is no managed debugging assistant in the .NET Micro Framework.