Export (0) Print
Expand All

Debugging the Application on the Device (Windows Embedded Standard 2009)

4/23/2012

After you set a breakpoint in your application, you can begin debugging the application as it executes on your Windows Embedded Standard-based device.

Breakpoints tell the debugger that an application should break (pause execution) at a certain point or when a certain condition occurs. For more information on breakpoints, see the Help in Microsoft Visual Studio .Net 2003.

  1. In Visual Studio, press F5 or on the Debug menu, click Start.

    Visual Studio first compiles the application in the folder that you specified on the device, and then runs the application in the debugger on the device.

  2. When the debugging session is successfully opened, the command window displays the following message:

    A Debug session has been started for user: <you>
    
  3. On the Windows Embedded Standard-based device, from the Help menu, click About.

    Execution of the program stops on the code line that is marked with the breakpoint.

    You can use Visual Studio to step through the code, to view the values of variables at different points during program execution, to view call stack information, and so on.

  4. To resume execution of the application on the device, press F5 or, on the Debug menu, click Start.

  1. In Visual Studio, press F5 or, on the Debug menu, click Start.

    Visual Studio first compiles the application in the folder that you specified on the device, and then runs the application in the debugger on the device. Form1 should appear on the Windows Embedded Standard device.

  2. Click the button on Form1 on the Windows Embedded Standard-based device. Execution of the program stops on the code line that is marked with the breakpoint.

    You can use Visual Studio to step through the code, to view the values of variables at different points during program execution, to view call stack information, and so on.

  3. To resume execution of the application on the device, press F5 or, on the Debug menu, click Start.

Community Additions

ADD
Show:
© 2014 Microsoft