GnutonLogo

Debugging a KUniqueApplication

Today i’ve found a crash in kblogger. But i was unable to get a valid backtrace because kblogger is a KUniqueApplication .

A KUniqueApplication will fork(): the parent process exits, the child continues.

So if you want debug a application child of KUniqueApplication you must launch

gdb –args your_application –nofork

(thank to pinotree for the suggestion)

Leave a Reply