I use gdb to debug my cpp code. I set breakpoints in this way:
(gdb) break ParseDriver.cc:60 No source file named ParseDriver.cc. Make breakpoint pending on futu
(gdb) set breakpoint pending on
This will make gdb skip asking for confirmation, quote from the docs:
This indicates that an unrecognized breakpoint location should automatically result in a pending breakpoint being created.