On Saturday, 28 February 2015 at 08:06:59 UTC, Rainer Schuetze
On 26.02.2015 11:17, Vadim Lopatin wrote:
On Wednesday, 18 February 2015 at 08:21:19 UTC, Rainer
On 17.02.2015 20:41, Vadim Lopatin wrote:
It looks like we need to develop some universal debugger
For linux, it can use gdb as a backend.
For windows - I'm not sure. Is there any console debugger
debug dmd generated executables? I've checked windbg shipped
but it looks like it is GUI, and cannot be used as backend
Trying to play with my own implementation of debugger using
Probably there is already some debugger interface written in
On Windows, there is mago (https://github.com/rainers/mago),
engine that integrates with Visual Studio, but it's actually
limited to that. It might be rather complicated to host it,
you'll have to interface with IDebugEngine2 and all its
If you want a text interface, the Debugging Tools for Windows
contain cdb, a command line version of windbg (forget about
distributed with dmd). For Win32, you'll have to convert the
CodeView debug info written by optlink to PDB format using
Trying to integrate MAGO.
I can easy create instance of MAGO DebugEngine, but having
obtaining of IDebugPort which is needed for invoking of
It looks like to get IDebugPort, I need IDebugCoreServer2
Does anybody know how to do it?
I suspect that is implemented by the Visual Studio debugger.
Have you tried creating an IDebugPortSupplier2?
It might also only be possible from within Visual Studio,
though. To host a debug engine you might have to implement
To create IDebugPortSupplier2, I need at least GUID for class