PDA

View Full Version : Plugin Segmentation fault



vieraci
30th July 2009, 14:53
I've created a custom widget and it crashes Designer when I attempt to place the widget onto anything. The terminal output after the crash only says "Segmentation fault". The code I've used forthe plugin was copied from a working project. How can I debug this ?

caduel
30th July 2009, 16:28
run designer in gdb, or use gdb to examine the core file (if you get one).
(and don't forget to build everything in debug mode.)

grsandeep85
31st July 2009, 07:33
better to use ddd debuger if you are using linux it would be better approach
go to terminal
$ ddd ./qtexecutablefile
then set the break point and run.