bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30151: Debugger API


From: James Nguyen
Subject: bug#30151: Debugger API
Date: Wed, 17 Jan 2018 20:56:38 -0800

I've been meaning to look at how to implement a debugger for Emacs for various 
languages.

There seems to be various options to go with (realgud, gud/gud-mi?, NIH roll my 
own) and it seems the community chooses different paths (including not writing 
one at all).

Some debuggers that come to mind are: edebug, gud-gdb, realgud, cider, indium, 
jdibug with a varied feature set.

I'm curious if it makes sense (or is doable) to have something similar to 
flycheck/flymake but for debugging (or like VSCode's 
https://code.visualstudio.com/docs/extensionAPI/api-debugging) so that there's 
a common interface to writing a debugger.

gud-def looks to be the closest thing but it seems somewhat low level given it 
doesn't draw breakpoints on screen (random example) or provide something like a 
'locals' view.

If gud-def is the recommended approach, I wonder why the other debuggers (list 
mentioned above) don't leverage it.


-- 
  James Nguyen
  james@jojojames.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]