[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    RE: Catching segmentation faults
From:       "Hummel, Timo" <timo.hummel () sap ! com>
Date:       2000-03-13 12:50:20
[Download RAW message or body]

>Nothing difficult, just that it annoys developers

Why that? It should be easy to implement a good debugging mechanism into the
handler...let me think about that.


>I don't know what you can do if you catch a segfault in KWord though.
>Too late for saving, I'd say...

Since it is possible to pass functions as argument to another function, the
base class (maybe KApplication) could be extended to have a function named
"setCrashHandler" or such, it takes a function as argument which does the
emergency save. If that function crashes,too, it's really to late, but it is
worth a try.

Timo

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic