On Wednesday, 1 September 2021 at 17:08:30 UTC, Imperatorn wrote:
On Friday, 27 August 2021 at 17:34:34 UTC, Basile B. wrote:
Select a custom executable, that's been compiled with dwarf
info (e.g -g).
this custom executable has not to be related to the focused
project.
[...]
Cool. Great job
Lazarus debugger can do that too.
1. Execute > Parameters > Host application
2. in the field set the custom app
3. run
this works because in theory you can debug a dll written in
ObjFPC but that will be used by a "foreign" program. The feature
is not explicit but that just works ;)

And Qt creator of course allows the same

using Debug > Start Debugging > Debug An External Application.
In fact resricting a GDB gui to a single language makes no sense.
1. The source language does not matter or it is automatically
selected
(GDB only knows a few variation: C C++ Pascal Fortran etc.)
2. it's dwarf in all cases...