The right way to debug a FastCGI app
Wes Widner <[email protected]> Mon, 12 Jul 2010 15:41:32 -0400
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, I've recently written an application using the FastCGI framework (in C) and I've been very impressed with the speed it offers. However when I went to write an extension to my application I've run into some difficulties debugging my code so I wanted to see if anyone here had a better idea of how to go about debugging a FastCGI application. Here is what I am attempting to do thus far: Run cgi-fcgi through gdb: gdb cgi-fcgi Then run my fastcgi application directly: (gdb) r -start -connect 127.0.0.1:9005 ./myapp.fcgi 1 This produces the output: Starting program: /usr/bin/cgi-fcgi -start -connect 127.0.0.1:9005 ./*myapp*.fcgi 1 [Thread debugging using libthread_db enabled] Program exited normally. Is this the right approach? If so, what am I doing wrong? If not, what is the best way to go about debugging my application? Thanks in advance, -Wes _______________________________________________ FastCGI-developers mailing list FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers