QFireBug OutputDatabaseProfile not working
Tue, 01/11/2011 - 00:32
Hello,
It seems that the database output profiling does not work in the QFirebug example. It seems that the profile array returned by the function 'debug_backtrace' in QDatabaseBase::LogQuery has a different structure than QFireBug expects. Any idea why, because it seems to work with Postgres?
Thanks
Helge

Yeah, I'm getting errors in http://examples.qcu.be/assets/plugins/QFirebug/example/qfirebug.php when I press Button B.
Helge, do you have some time to investigate and fix up the plugin?
As it is for my own benefit I will look into that. :-) Might take a day or two though.
Cheers
Helge
Hello Alex,
Can you please test the fix? Was easier than I previously thought, may be... :-) You have changed the profile array in QDatabase when logging the query in QDatabase::LogQuery.
Cheers
Helge
Helge, can you please create a new version of the plugin - including updating the link to download it on the plugin site - I'll be happy to test it/install it on the examples.qcu.be site?
> - including updating the link to download it on the plugin site
How do I do that?
Helge
Just go to http://trac.qcu.be/projects/qcubed/wiki/plugins, then log in and click Edit at the bottom. Change the link to the .zip download for the plugin to be the link to the new version that you check in.
Done.
Helge
Awesome. Tested and pushed the new release to the Examples site. Works like a charm - thanks for your contribution!