all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Xin Jin <zariskij@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: highlight breakpoints with pdb?
Date: Wed, 19 Nov 2014 01:17:16 -0800 (PST)	[thread overview]
Message-ID: <1dab2226-ac34-48ca-ba36-023b9f329630@googlegroups.com> (raw)
In-Reply-To: <mailman.13998.1416380496.1147.help-gnu-emacs@gnu.org>

On Tuesday, November 18, 2014 11:01:38 PM UTC-8, Andreas Röhler wrote:
> On 18.11.2014 23:29, Xin Jin wrote:
> > I use pdb with gud to debug python scripts. I am just wondering if there is way to highlight the lines with breakpoints? For example, in some screenshots of gud-gdb, some people seem to have red circles to the left of lines with breakpoints. How to achieve that with pdb? And is there a way to list all breakpoints (like the breakpoints buffer of gud-gdb)?
> >
> > I actually tried realgud once, and it did have this feature. However, realgud is lacking documentation, and I find it extremely confusing to use. I have very limited knowledge of elisp, so I cannot figure out what is going on without a more detailed guide.
> >
> > Thanks.
> >
> 
> This should be possible. Exists a related feature request already at python-mode.el's side
> 
> https://bugs.launchpad.net/python-mode/+bug/1248657

Actually putting a breakpoint in emacs is very easy (just type, say, "b 10" to put a breakpoint at line 10). And I've figured out how to list all breakpoints (just type "b").

What I wanted  is the feature that would put a red icon to left of the lines with breakpoints, like this:
http://csm.mech.utah.edu/content/wp-content/uploads/2011/03/Emacs-with-GDB-Breakpoint.jpg


      parent reply	other threads:[~2014-11-19  9:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-18 22:29 highlight breakpoints with pdb? Xin Jin
2014-11-19  7:01 ` Andreas Röhler
     [not found] ` <mailman.13998.1416380496.1147.help-gnu-emacs@gnu.org>
2014-11-19  9:17   ` Xin Jin [this message]

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

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

  git send-email \
    --in-reply-to=1dab2226-ac34-48ca-ba36-023b9f329630@googlegroups.com \
    --to=zariskij@gmail.com \
    --cc=help-gnu-emacs@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.