Dexed can be used to debug program that are not written in D

Basile B. b2.temp at gmx.com
Mon Sep 6 09:42:02 UTC 2021


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 ;)

![](https://i.imgur.com/JqJVRI6.png)

And Qt creator of course allows the same

![](https://i.imgur.com/g6AiGyR.png)

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...


More information about the Digitalmars-d-debugger mailing list