Re: Using .gdbinit and Kdevelop

RenĂ© J.V. Bertin <[email protected]> Sun, 08 Aug 2021 12:39:14 +0200
Newsgroups gmane.comp.kde.users.kdevelop
Message-ID <2415417.BOZNucldgt@bola>
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.