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

List:       kde-devel
Subject:    Re: Debugging corrupted QStrings?
From:       Waldo Bastian <bastian () ens ! ascom ! ch>
Date:       1999-07-19 12:02:27
[Download RAW message or body]

Jan Ekholm wrote:
> 
> On Mon, 19 Jul 1999, Waldo Bastian wrote:
> 
> >You might want to try to link against Electric Fence (add -lefence to a
> >strategic position in your Makefile). You need quite a lot of memory/swap
> >to get things going but it causes your program to segfault when some wild
> >pointer gets dereferenced. Very usefull to find those hard to track problems.
> 
> I had the impression that Electric Fence was C-only, i.e. it didn't work
> with C++ new and delete. I used it for a C-project 2 years ago, but when I
> started using more and more C++ efence just didn't find anything anymore.
> Maybe newer versions have changed this behaviour?

The version which I found installed on my RedHat 6.0 was quite usefull
for debugging KDE/Qt stuff. I was happily surprised by it. 

Cheers,
Waldo
-- 
The "gui" in "Penguin" is pronounced "K-D-E"

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

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