Handling an Exception (Windows Embedded CE 6.0)
1/5/2010
You can manage and handle exceptions based on their type.
In Microsoft Visual Studio 2005 there are options for how to handle an exception. You must have a project loaded to see the Debug menu.
You may handle exceptions with the following procedures.
To handle an exception
Examine the results on the Output tab of the Output window.
The results in the Output window indicate where the exception occurred.
From the Debug menu, choose Windows and then choose Call Stack. Double-click any line to display the source code corresponding to that frame.
From the Debug menu, choose Windows and then choose Autos to view transient parts of the code, such as local variables (optional).
To configure how exceptions are handled in the future, choose Exceptions… from the Debug menu.
To continue execution after an exception
When there is an exception, you can click the Debug tab, select Start, and a window opens which asks you if you want to pass the exception on to the program being debugged.
You can then choose Yes, No or Cancel.
See Also
Tasks
Viewing or Modifying the List of Exceptions