2012/6/22 Alexis Halbot-Schoonaert <a.halbotschoona...@free.fr>: > Hello, > > I try to debug a FastCGI (with a TWebModule) wich connects itself to > FireBug in Lazarus and the debugger stops debugging when i do a > connection to FireBird. > Ubuntu 12.04, FPC 2.6.0 Lazarus 0.9.30.4 > > I can see my SQLQueryresult at design time in Lazarus. Ok. > > I can execute my FastCGI (outside Lazarus, so not debugging). > The connection with Apache, the FastCGI execution with the FireBird > connection and the result returned to the browser... Everything is Ok. > > If a remove the DB connection in my code, i can debug the FastCGI. > With the DB connection, the debugger goes away and apache goes to time > out. > > I encountered the same problem with a MySql connection several months > ago, and didn't try until now. > > the same problem happens in a console programme, as if the lack of > graphical interface make the problem to happen. > > If i write an lcl application with a dbgrid, and the same connection > configuration, everything is Ok, including debugging. > > Please, i don't want to use PHP! ;p > > Thank you for your help! > Alexis
Hellow, :) Hm... I use JDO (https://github.com/silvioprog/jdo) with CGI and works very well, please see this simple demo: http://silvioprog.com.br/grid.html JDO is a descendant project from SQLdb and is very similar to the PDO project, but has native support for JSON. The source code of this project here: http://code.google.com/p/lazarus-br/source/browse/#svn%2Ftrunk%2Fweb%2Flws-jdo-jeasyui -- Silvio Clécio My public projects - github.com/silvioprog _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal