PowerAda Trap Dialog

From OC Systems Wiki!
Jump to: navigation, search

This dialog is used to specify the name of a target program exception to trap.

Enter the name of the exception to trap in the text field. The keywords unhandled and all can be used to trap unhandled exceptions or all exceptions. Leaving the text field blank will report what exceptions will be trapped.

For example, if your program crashes and prints out a stack traceback, and you want to debug it, you must specify unhandled in order that the debugger stop at the exception rase.

Press the Trap button to execute the TRAP command, or the Cancel button to remove the dialog.

See also: "Displaying and Setting Exception Traps: TRAP" in Appendix F in the PowerAda User's Guide.