How can I configure Qt Creator and/or gdb so that while debugging my program using Qt libraries the debugger would avoid stepping into Qt's source files?
How can I configure Qt Creator and/or gdb so that while debugging my program using Qt libraries the debugger would avoid stepping into Qt's source files?
Maybe not exactly a perfect solution to this question, but maybe it would help to exclude the directories where your project is not (ie. 3rd party libraries, system headers (like STL), etc). If so, take a look at https://stackoverflow.com/a/31629136/5155476 and https://stackoverflow.com/a/42721326/5155476. The former allows you to specify directories (and all subdirectories) to skip when stepping while running GDB (so you can change the set whenever you like), but it requires you to build GDB. The latter allows the same functionality but pre-set before running GDB, and does not require building GDB.