This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Omniscient Debugging for C...
- From: Bil Lewis <bil at bayarea dot net>
- To: gcc at gnu dot org
- Date: Thu, 3 Jun 2004 18:39:54 -0700 (PDT)
- Subject: Omniscient Debugging for C...
Dear All,
I was talking with RMS yesterday about some of the work I'm
doing and he suggested I write you.
I've written a new kind of debugger -- it records state changes
and allows the programmer to essentially "go backwards in time."
So now you can ask questions like "What did the value of X USED
to be?"
The results are (IMHO) impressive. Massively difficult bugs
become trivial.
I wrote it in Java (www.LambdaCS.com).
It *could* be written in C/C++/etc. also. This would involve
augmenting the compiler to produce "tracing code" at all
assignments and function calls.
I don't know GCC and it's highly unlikely that I shall ever
learn it alone.
But if someone who did know it was interested in doing something
truly extraodinary...
Richard felt that it wouldn't be all that difficult to do.
So, if anyone is interested, drop me a msg & let's talk.
-Bil Lewis