[fpc-pascal] Debugging cgi applications
ludo.brands at free.fr
Fri Oct 28 18:15:01 CEST 2011
Atached is a small unit that makes debugging cgi applications easier. When
used in a program it will as part of the initialization launch a new process
which opens a terminal (windows:cmd, linux:xterm) and starts gdb attaching
to the calling proces. A short "sleep" makes sure gdb breaks the program
while still initializing. It has been tested on windows xp32 with apache 2.2
running as an application or as a service and on ubuntu 10.04 64 with apache
Further instructions are in the unit.
I've also tested this unit sucessfully in a windows library. It helps
debugging of dll's where the "Host Application" method fails.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the fpc-pascal