Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


On 2013-02-18 15:39, Lubos Lunak wrote:
This could be very useful ('catch throw' is so cumbersome in gdb), but I think the first thing to check is if it would actually work. Last time I checked, "recent" features like -fvisibility make backtrace() very often generate call traces that are next to useless. If it turns out the data actually is useful, then also - you can't simply modify the Exception base class, because it's part of the URE, so it should stay binary compatible. It'd need to be stored in the message (which is a question if it's a good or bad idea) or some other way would need to be found. - it'd be good to know how fast/slow the function is. Exceptions generally aren't very fast, but if the function was called every time in the ctor, then depending on fast it is that might make it debug-build-only feature.

Thanks for the feedback.

I'll have a go at it and report back.

Disclaimer: http://www.peralex.com/disclaimer.html



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.