Using .gdbinit and Kdevelop

René J.V. Bertin rjvbertin at gmail.com
Sun Aug 8 11:39:14 BST 2021


On Sunday August 08 2021 12:09:47 Mahmood Naderan wrote:

>Sorry I didn't get the point. As you can see below .gdbinit file is set
>correctly and I use the GDB configuration as in the attached pictures.

If KDevelop starts gdb, it will do so from within a working directory that may not be the one you expect, especially if you launch KDevelop itself via the plasma shell instead of from a terminal. In that case, gdb will see the .gdbinit file that is in your $HOME directory but not a dedicated version in some other directory.

R.


More information about the KDevelop mailing list