Please remove noisy output from kdebug
Thiago Macieira
thiago at kde.org
Sat Aug 4 21:21:14 BST 2007
Andreas Pakulat wrote:
>Hi,
>
>would it be possible to remove the extra noisy output from kdebug when
>its called after destruction (whatever destruction is meant here).
>This makes kdebug output mostly useless in a shell when an application
>crashes as you enourmus buffer to not have only these in it.
I left it there because I had no idea if there were valid usecases for
calling kDebug() after the global destructors had been run. (Read:
calling *from* a global destructor of something)
>
>kDebugStream called after destruction; backtrace: [
>0: /home/andreas/kde4/lib/libkdecore.so.5(_Z14kRealBacktracei+0x38)
> [0xb7a8e548] 1:
> /home/andreas/kde4/lib/libkdecore.so.5(_Z12kDebugStream9QtMsgTypeiPKciS
>1_+0x43) [0xb7a8e843]
>2: /home/andreas/kde4/lib/libkdecore.so.5 [0xb7a4d4c7]
>3: /home/andreas/kde4/lib/libkdecore.so.5 [0xb7b549d2]
>4: /home/andreas/kde4/lib/libkdecore.so.5 [0xb7b50a9d]
>5: /home/andreas/kde4/lib/libkdecore.so.5 [0xb7a681db]
I'm interested in knowing what those frames above (2 to 5) are. 2 is
probably kDebug(int) or KDebug::operator()(int).
Oh, wait, I do have the line number from the call... :-) I'll update the
code but leave the noisy output for a while. Let's see if the usecases
are valid first.
>6: /lib/libc.so.6(exit+0xd4) [0xb64c84a4]
>7: /home/andreas/qt-copy/lib/libQtGui.so.4 [0xb695cd4b]
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070804/9eb9abd8/attachment.sig>
More information about the kde-core-devel
mailing list