radare2 icon indicating copy to clipboard operation
radare2 copied to clipboard

Support DAP - Debug Adapter Protocol

Open XVilka opened this issue 7 years ago • 7 comments

While radare2 is low-level debugger, sometimes it is being used with some source-level debugging too. Microsoft started an initiative very similar to LSP (Language Server Protocol) but targeting debuggers. It is called DAP - Debug Adapter Protocol. In this issue I encourage you to think if this kind of support may benefit radare2 or not.

See more information at https://microsoft.github.io/debug-adapter-protocol/

Specification is here https://microsoft.github.io/debug-adapter-protocol/specification

See implementation for C/C++ https://github.com/Microsoft/vscode-cpptools/tree/master/Documentation/Debugger

XVilka avatar Nov 12 '18 05:11 XVilka

useless I think

ghost avatar Nov 14 '18 14:11 ghost

I do not think this feature is useless. This protocol is the only remote debugger protocol handled by a gameboy emulator: Emulicious. This protocol is usefull for retro-console debugging.

I plan to write a paper about gameboy console for r2conf. Have this feature could be a real plus!

gogo2464 avatar Jun 14 '21 13:06 gogo2464

You can look into that page to see different implementations

https://microsoft.github.io/debug-adapter-protocol//debug-adapter-protocol/implementors/adapters/

Sent from my iPhone

On 14 Jun 2021, at 15:41, gogo2464 @.***> wrote:

 I do not think this feature is useless. This protocol is the only remote debugger protocol handled by a gameboy emulator: Emulicious. This protocol is usefull for retro-console debugging.

I plan to write a paper about gameboy console for r2conf. Have this feature could be a real plus!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

radare avatar Jun 14 '21 14:06 radare

@radare error 404: are you sure that your link is not dead?

gogo2464 avatar Jun 14 '21 19:06 gogo2464

Funny they check for the referer

https://microsoft.github.io/debug-adapter-protocol//debug-adapter-protocol/

radare avatar Jun 15 '21 00:06 radare

Funny they check for the referer https://microsoft.github.io/debug-adapter-protocol//debug-adapter-protocol/

They also check for the refere here

gogo2464 avatar Jun 15 '21 01:06 gogo2464

Funny they check for the referer

https://microsoft.github.io/debug-adapter-protocol//debug-adapter-protocol/

link is 404

Kreijstal avatar Dec 02 '25 16:12 Kreijstal