I use gdb on Linux to debug error about "segmentation failt". It work good.
But how to debug in this case:
I declare QList myList;
I call myList[1]; Qt will output warning "... Out of index List" (i don't remember).
gdb can't catch this error, it only know program exit normally. I think why Qt don't throw error "Segmentation failt" for user to catch it easier. Thanks.
The question 2: I use Qt on Windows (version Desktop). How to debug program written by Qt on Windows? Thanks.
Bookmarks