When I execute my C++ code (which uses the CGAL
library) under debug mode, I see a lot of debug messages in the Output
window about a first-chance exception CGAL::Uncertain_conversion_exception
. I am aware of what a first-chance exception is.
Now, how do I turn off the display of debug messages for this one kind of exception (CGAL::Uncertain_conversion_exception
)?
I like my debug messages as detailed as possible, but once I know what a certain exception is about and I have dealt with it, I would like it to go away. For example, in this case the CGAL exception is supposedly naive (and informative) and not a cause for concern. I would like to turn it off, but still be able to keep my eyes open for any other (new) first-chance exceptions. Is this possible in Visual Studio 2008? Am I asking for too much?
I don't think there is a way.
You can right-click into the output window and disable all exception messages, but it doesn't come with anymore of a filtering ability.
That said, if you're desperate, you can save the output, filter it, and, using a simple tool added to the Tools menu, dump it back into the output window (where it appears under your tool's title instead of "Debug"). I've done this before, but usually this is too much hassle for too little gains.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With