Thread overview
Invoking MAGO debugger
Feb 26, 2015
Vadim Lopatin
Feb 26, 2015
michaelc37
Mar 02, 2015
Vadim Lopatin
February 26, 2015
Hello!

I'm trying to integrate MAGO into DlangIDE.

I can easy create instance of MAGO DebugEngine, but having problems with obtaining of IDebugPort which is needed for invoking of LaunchSuspended.
It looks like to get IDebugPort, I need IDebugCoreServer2 instance.
Does anybody know how to do it?
Normally, it's being created by VisualStudio AFAIK.


Best regards,
    Vadim
February 26, 2015
On Thursday, 26 February 2015 at 10:20:31 UTC, Vadim Lopatin wrote:
> Hello!
>
> I'm trying to integrate MAGO into DlangIDE.
>
> I can easy create instance of MAGO DebugEngine, but having problems with obtaining of IDebugPort which is needed for invoking of LaunchSuspended.
> It looks like to get IDebugPort, I need IDebugCoreServer2 instance.
> Does anybody know how to do it?
> Normally, it's being created by VisualStudio AFAIK.
>
>
> Best regards,
>     Vadim

I once remember pulling out my hair trying todo the same in order to get it to work with a monodevelop win32 debugger addon.

It resulted in a writing new clr wrapper with a different exposed interface
https://github.com/aBothe/MagoWrapper

e.g. of how the debugee was was launched here:
https://github.com/aBothe/MagoWrapper/blob/master/DebugEngine/MagoWrapper/NativeDebugger.cpp
March 02, 2015
On Thursday, 26 February 2015 at 18:37:17 UTC, michaelc37 wrote:
> On Thursday, 26 February 2015 at 10:20:31 UTC, Vadim Lopatin wrote:
>> Hello!
>>
>> I'm trying to integrate MAGO into DlangIDE.
>>
>> I can easy create instance of MAGO DebugEngine, but having problems with obtaining of IDebugPort which is needed for invoking of LaunchSuspended.
>> It looks like to get IDebugPort, I need IDebugCoreServer2 instance.
>> Does anybody know how to do it?
>> Normally, it's being created by VisualStudio AFAIK.
>>
>>
>> Best regards,
>>    Vadim
>
> I once remember pulling out my hair trying todo the same in order to get it to work with a monodevelop win32 debugger addon.
>
> It resulted in a writing new clr wrapper with a different exposed interface
> https://github.com/aBothe/MagoWrapper
>
> e.g. of how the debugee was was launched here:
> https://github.com/aBothe/MagoWrapper/blob/master/DebugEngine/MagoWrapper/NativeDebugger.cpp

Thank you a lot!

BTW, it's not clear what license in used for MagoWrapper.
In readme, it's said that it's under GPL2, but everywhere in source code I see Apache license.