mago-mi: GDB/MI compatible frontend for Mago debugger

Vadim Lopatin via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon May 23 22:39:59 PDT 2016


On Wednesday, 18 May 2016 at 18:02:12 UTC, Bruno Medeiros wrote:
> While DDT technically work oks with GDB (the GDB from mingw-w64 
> that is), you are right, there isn't a compiler on Windows that 
> supplies debug info in the way GDB understands. See 
> https://wiki.dlang.org/Debuggers.
>
> DMD produces debug info COFF or OMF format, which GDB doesn't 
> know anything about (nor ever will). LDC should in theory work 
> with DWARF info, but this is broken somehow. Not because of 
> LLVM though, since for example Rust on Windows works. As for 
> GDC, it doesn't even supply binaries for Windows (that target 
> Windows) -  it is not a supported platform.
>
> BTW, Eclipse/DDT should in theory work with mago-mi as well, at 
> least if the protocol is implemented correctly. Have you tried 
> it? I dunno how complete your MI implementation is.

mago-mi v0.2.1 is released.

Precompiled binaries are available in DlangIDE release bundle.
https://github.com/buggins/dlangide/releases/tag/v0.6.5

Added support for a lot of GDB/MI commands.
Compatibility with GDB fixed.
Tested with Eclipse/DDT.

You can build dmd/x86 project in Eclipse/DDT, start debugging, 
use breakpoints, step in/out/over, see threads, stack frames, 
variables.
Just change Debug Configuration / Debugger setting - from GDB to 
mago-mi

Best regards,
      Vadim


More information about the Digitalmars-d-announce mailing list