gdb for pike?

"Stephen R. van den Berg" <[email protected]>
Newsgroups gmane.comp.lang.pike.user
Message-ID <[email protected]>
While wading through the race conditions in the new pgsql driver, I just
had a crazy thought: why not connect gdb to a pike process using the
remote debugging protocol?
Anyone ever looked into this?

The reason I come up with this idea, is because in a multithreaded pike
program, once every hangs/waits, I'd like to inspect some variables here
and there.  Currently that is not possible (or I don't know how); the best
I can get is doing a loop over all threads, and printing the backtrace
information of each (kind of like Roxen does).
If gdb knew how to connect, it should be possible to teach it to
access variables in Pike objects.

Or is there some grand pike debugging tool I've been overlooking all
these years which already does this?
-- 
Stephen.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.