www.delorie.com/gnu/docs/gcc/gnat_ug_237.html   search  
 
Buy the book!


Untitled Document

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

23.7 Breaking on Ada Exceptions

You can set breakpoints that trip when your program raises selected exceptions.

break exception
Set a breakpoint that trips whenever (any task in the) program raises any exception.

break exception name
Set a breakpoint that trips whenever (any task in the) program raises the exception name.

break exception unhandled
Set a breakpoint that trips whenever (any task in the) program raises an exception for which there is no handler.

info exceptions
info exceptions regexp
The info exceptions command permits the user to examine all defined exceptions within Ada programs. With a regular expression, regexp, as argument, prints out only those exceptions whose name matches regexp.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003