Vortex86DX-MSJK Windows Embedded CE 6.0 R3 Jump Start Rev 2.2
Page 85 of 144
•
From the VS2008 IDE, select
Debug | Start Debugging.
•
From the VS2008 IDE, select
Debug | Start Without Debugging
To work through the exercise in this section, the application must be downloaded to the target
device by selecting the
Debug | Start Debugging
option.
With the
VS2008_CSharp_HelloWorld
managed code application downloaded to the target device,
using the
Debug | Start Debugging
option, work through the following steps to set a breakpoint in
the
buttonHelloWorld_Click
event:
•
From the VS2008 IDE, switch to source code viewing mode and navigate to the
buttonHelloWorld_Click
event function.
•
Click on the following line of code and press the
F9
key to set a breakpoint, as shown in
Figure 89.
textHelloWorld.Text =
"2nd Hello World!"
;
Fig. 89 -
VS2008 IDE | Application breakpoint
Note:
The above breakpoint is set while the application is running on the target device.
With the breakpoint in place, work through the following steps to execute the
VS2008_CSharp_HelloWorld
application, and cause the application to halt when the execution
reaches the breakpoint:
•
From the target device’s CE 6.0 desktop, with the
VS2008_CSharp_HelloWorld
application
running, click on the
Hello World
button.
•
On the VS2008 IDE on the development workstation, the breakpoint highlight color
changed from
Red
to
yellow
indicates the program is halt at this line of code, as shown in
Figure 90.