[fpc-pascal] Try to debug FastCGI or console app with DB connection in Lazarus
Sven Barth
pascaldragon at googlemail.com
Sat Jun 23 14:16:26 CEST 2012
Please don't answer to an existing thread with a completely different
topic as then you might not receive answers, because users either ignore
such messages or think the message is for the given thread (because
their threadview is collapsed and they only see that a new message
arrived in that thread.
So please always send a mail for a new topic directly to the list
without using "answer to all/list/sender".
Regards,
Sven
On 22.06.2012 11:10, Alexis Halbot-Schoonaert wrote:
> 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
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
More information about the fpc-pascal
mailing list