code guideline

Martin Gräßlin mgraesslin at kde.org
Wed Jul 9 09:34:59 BST 2014


On Wednesday 09 July 2014 10:23:59 Kevin Ottens wrote:
> On Wednesday 09 July 2014 10:15:03 David Faure wrote:
> > On Saturday 28 June 2014 08:51:42 Rodrigo Bonifacio wrote:
> > > Dear all, is there any code guideline that recommends developers to
> > > avoid
> > > the use of exception handling mechanisms within the core libraries of
> > > KDE?
> > 
> > I don't think it's written down anywhere, but yes, please do avoid the use
> > of exception handling. I hate debugging uncaught exceptions, no way to get
> > a backtrace of where the exception was thrown.
> 
> Isn't "catch throw" in gdb just for that? I regularly use it when I've to
> deal with exceptions.

yeah that works, but only if one manually runs gdb. With DrKonqi we just get a 
rethrown exception and that sucks badly.

Cheers
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20140709/ee07eb04/attachment.sig>


More information about the kde-core-devel mailing list