Re: [Qgis-developer] Debugging a QGIS crash

2015-05-09 Thread Andrew McClure
Tom

I'd suggest installing VM Ware and running QGIS under Ubuntu.  You will have 
access to a console and better debugging facilities. You could even run the 
program under strace.   Ideally you want to see a stack trace so you can 
identify the pyqt commands that were executed prior to crashing.

Of course it could be operating system specific.  For windows, a quick google 
revealed this:

http://stackoverflow.com/questions/112831/how-to-get-a-stack-trace-when-c-program-crashes-using-msvc8-2005


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Debugging a QGIS crash

2015-05-09 Thread Tom Chadwin
I'm working on a plugin which, under certain circumstances, crashes QGIS 
itself. I've never come across this before. I've downloaded qgis-dev, and tried 
opening the minidump in the Windows debug tool mentioned on the development 
page, but it says the dump file contains no debug info.

What do I do next?

Thanks

Tom



Tom Chadwin, ICT Manager
Telephone: 01434 611530 Mob:
Web: 
www.northumberlandnationalpark.org.uk

IMPORTANT NOTICE - Disclaimer - This communication is from Northumberland 
National Park Authority (NNPA).The Authority’s head office and principal place 
of business is Eastburn, South Park, Hexham, Northumberland, NE46 1BS, United 
Kingdom. If you are not the intended recipient(s) please note that any form of 
disclosure, distribution, copying or use of this communication or the 
information in it or in any attachments is strictly prohibited and may be 
unlawful. If you have received this communication in error, please delete the 
email and destroy any copies of it. Any views or opinions presented are solely 
those of the author and do not necessarily represent those of NNPA.Contractors 
or potential contractors are reminded that a formal Order or Contract is needed 
for NNPA to be bound by any offer or acceptance of terms for the supply of 
goods or services Although this email and any attachments are believed to be 
free of any virus or other defects which might affect any computer or IT system 
into which they are received, no responsibility is accepted by the NNPA for any 
loss or damage arising in any way from the receipt or use thereof. Computer 
systems of this Authority may be monitored and communications carried out on 
them recorded, to secure the effective operation of the system and for other 
lawful purpose.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer