[Qgis-developer] debug qgis mapserver with QtCreator?
marco.hugentobler at sourcepole.ch
Mon Apr 8 08:47:36 PDT 2013
>but what about POST data?
>How do you debug it?
I'm usually debugging GET requests. However, in Qt Creator, you can also
attach to a running fcgi Prozess.
On 08.04.2013 17:34, G. Allegri wrote:
> Hi Marco,
> thanks for the tip. That's a starting point, but what about POST data?
> How do you debug it?
> Yes, I'm aware of the risk for sql-injections ;)
> 2013/4/8 Marco Hugentobler <marco.hugentobler at sourcepole.ch>:
>> Hi Giovanni
>> Just set the environment variable QUERY_STRING (e.g.
>> QUERY_STRING='SERVICE=WMS&REQUEST=GetCapabilities') and start the executable
>> with the debugger.
>> If you extend the filter possibilities, make sure not to open possibilities
>> for sql-injections.
>> On 08.04.2013 16:56, G. Allegri wrote:
>>> Hi all,
>>> I would like to try to extend a bit the filter functionalities in qgis
>>> server, but I've never setup e debug environment for a C++ CGI.
>>> Can you suggest me a way to do it? I use QtCreator (Linux) for QGis
>>> Desktop and I will like to employ iy here too, but I can't figure how
>>> to attach it to the CGI executable...
>> Dr. Marco Hugentobler
>> Sourcepole - Linux & Open Source Solutions
>> Weberstrasse 5, CH-8004 Zürich, Switzerland
>> marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
>> Technical Advisor QGIS Project Steering Committee
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
Dr. Marco Hugentobler
Sourcepole - Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee
More information about the Qgis-developer