
11 Jun
2008
11 Jun
'08
4:10 p.m.
Marcus Lindblom <macke <at> yar.nu> writes:
Gennadiy Rozental wrote:
VS has nice feature I like to use th at allows to catch exceptions in the point of inception. If I enable it these StopIteration exceptions start to creep up and make debugging impossible.
VS (7.0+) also has the feature that you can register (add) exception types and have VS ignore them when they are thrown. We do this for the few exceptions we use in a similar manner in our app.
This should perhaps go into the documentation of libs that make liberal use of exceptions, as a courtesy to users who find it annoying.
Unfortunately Boost.Python is using single exception class for all error conditions and this is an exception I am interested catching. Gennadiy