Tim's Blog

Remembering gdb settings between sessions

Ok I always forget this so I thought I’d write it down…

—————- saved as .gdbinit

dir ../src
set breakpoint pending on
break qgsogrprovider.cpp:574
break qgsogrprovider.cpp:724

——————

The breakpoint pending option forces yes for breakpoints set where the library doesnt have loaded symbols yet.

You can have multiple .gdbinit files as there are scanned for in the dir where gdb is run from.


To Tumblr, Love PixelUnion