FASTCGI - How to Debug C++ fastfcgi
Joana Santos <[email protected]> Tue, 8 Jan 2013 08:44:23 +0000
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <CAF=M2GhV2kGBu+Wy_D3vQykaat7MhewQhUjv8AKC+iBD5Z9VPA@mail.gmail.com> |
--===============0285899130861491433== Content-Type: multipart/alternative; boundary=20cf3071cce6daa62604d2c2f3d6 --20cf3071cce6daa62604d2c2f3d6 Content-Type: text/plain; charset=ISO-8859-1 Hi, I'm new in fastcgi/cgi development and i'm new in c++ development too. The IDE i'm using is eclipse. I'm using apache2 web server installed in one XUbuntu virtual machine. In my FastCGI i'm using *fcgi_stdio* . Sometimes i get internal server error in my fastcgi script and if i go to apache log i don't find enough information to locate my error. I think my problem could have something about memory allocation. If i create a console application project and put my classes there all works fine. But when i call my classes from the fastcgi sometimes i receive an Internal server error. I would like some help to : - debug my fastcgi script and be able to simulate GET, POST and PUT requests (i'm developing an web application that submits ajax requests.) - how to catch this kind of error in my fastcgi and treat it. thanks, Joana --20cf3071cce6daa62604d2c2f3d6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,<br><br>I'm new in fastcgi/cgi development and i'm new in c++ de= velopment too.<br><br>The IDE i'm using is eclipse.<br>I'm using ap= ache2 web server installed in one XUbuntu virtual machine.<br><br>In my Fas= tCGI i'm using <b>fcgi_stdio</b> .<br> <br>Sometimes i get internal server error in my fastcgi script and if i go = to apache log i don't find enough information to locate my error.<br>I = think my problem could have something about memory allocation.<br><br>If i = create a console application project and put my classes there all works fin= e. <br> But when i call my classes from the fastcgi sometimes i receive an Internal= server error.<br><br>I would like some help to :<br><br>=A0- debug my fast= cgi script and be able to simulate GET, POST and PUT requests (i'm deve= loping an web application that submits ajax requests.)<br> <br>=A0- how to catch this kind of error in my fastcgi and treat it.<br><br= ><br>thanks,<br>Joana<br><br><br><br><br><br> --20cf3071cce6daa62604d2c2f3d6-- --===============0285899130861491433== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ FastCGI-developers mailing list FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers --===============0285899130861491433==--