[Qgis-developer] 2.2 project keeps crashing after load

Andreas Neumann a.neumann at carto.net
Wed Jun 25 06:32:57 PDT 2014


Hi Gino,

Thanks for the hints. I will try the thing with the logging. I don't
have VisualStudio - will the free express version help?

I don't know if the windows nightlies have debug symbols enabled.

Thanks,
Andreas


Am 25.06.2014 13:11, schrieb Gino Pirelli:
> two useful tricks
> 
> 1) redirect log to file as stated here
> http://qgis.org/api/classQgsLogger.html#details
> export QGIS_DEBUG=<level> e.g. 3
> export QGIS_LOG_FILE=./qgis.log
> in the shell or add them in the settings->otions->system->environments ...
> log will be produces using unix EndOFLine so under win you need to convert
> log file using something like unix2dos executable.
> 
> 2) attach qgis execution inside VisualStudio and it will stop at the
> crash... but without debug symbols it's only useful to have an idea of the
> calling sequence.
> 
> my 2 cents,
> 
> Luigi Pirelli (luigi.pirelli at faunalia.it - luipir at gmail.com)



More information about the Qgis-developer mailing list