mono / sdb

A command line client for the Mono soft debugger.
https://www.mono-project.com
MIT License
116 stars 44 forks source link

[QUESTION] Does SDB comply to GDB's machine interface? #31

Closed tibel closed 8 years ago

tibel commented 8 years ago

I don't know if this is the right place to ask this question, but I could not find any info on this topic.

Does SDB comply to GDB's machine interface?

I ask because of Microsoft/MIEngine and remote debugging a mono project from inside Visual Studio?

vargaz commented 8 years ago

It doesn't, it uses a custom wire protocol based on the java debugger protocol: http://www.mono-project.com/docs/advanced/runtime/docs/soft-debugger/

tibel commented 8 years ago

Please correct me where I'm wrong: SDB talks to the mono runtime using a custom wire protocol (what you described). GDB mi interface is ASCII based and defines the commands and output on stdin and stdout. So theoretically when commands and output are compatible to gdb mi, this could work.

VS gdb support:

alexrp commented 8 years ago

SDB (the command line program) doesn't support the machine interface out of the box as Zoltan said, but I imagine it would be possible to support it in theory, as long as it's just a matter of supporting certain commands.

alexrp commented 8 years ago

Closing as the question has been answered.