unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: James Nguyen <james@jojojames.com>
To: 30151@debbugs.gnu.org
Subject: bug#30151: Debugger API
Date: Wed, 17 Jan 2018 20:56:38 -0800	[thread overview]
Message-ID: <1516251398.1364994.1239356432.7334F1AF@webmail.messagingengine.com> (raw)

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	other threads:[~2018-01-18  4:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-18  4:56 James Nguyen [this message]
2018-01-18 14:41 ` bug#30151: Debugger API Eli Zaretskii
2018-01-19  9:25   ` James Nguyen
2018-01-19 10:19     ` Eli Zaretskii
2018-01-21 19:16       ` James Nguyen
2019-09-28 22:56 ` Stefan Kangas
2019-09-28 23:53   ` james
2019-09-29  0:13     ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1516251398.1364994.1239356432.7334F1AF@webmail.messagingengine.com \
    --to=james@jojojames.com \
    --cc=30151@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).