Re: [fossil-users] cgi.c

2010-05-25 Thread Rüdiger Härtel
Hi! If you want to debug a child process then you have to tell gdb to do so. See this website: http://www.delorie.com/gnu/docs/gdb/gdb_26.html Ruediger Am Mittwoch 12 Mai 2010 17:41:00 schrieb zacht...@cis-partners.com: I don't understand how the fossil web server is interacting with the

Re: [fossil-users] cgi.c

2010-05-25 Thread zachtodd
Hey, Thanks for the link. I eventually came around to the same technique in ddd, putting a sleep call in the function that the child executes, using ps to find the parent process id, and then attaching to the child with ddd. ___ fossil-users

Re: [fossil-users] cgi.c

2010-05-25 Thread Richard Hipp
The debugging technique I normally use is to run the fossil http command directly from the debugger. The HTTP request can be either manually typed in, or redirected from a file. -- - D. Richard Hipp d...@sqlite.org ___ fossil-users

[fossil-users] cgi.c

2010-05-12 Thread zachtodd
I don't understand how the fossil web server is interacting with the child processes that it launches. I see the code in cgi.c that does the launching, but I don't see how the child processes actually know what it is they should be doing. if( select( listener+1, readfds, 0, 0, delay) ){

Re: [fossil-users] cgi.c

2010-05-12 Thread Eric
I don't understand how the fossil web server is interacting with the child processes that it launches. I see the code in cgi.c that does the launching, but I don't see how the child processes actually know what it is they should be doing. if( select( listener+1, readfds, 0, 0, delay)