[Python-mode] making stack traces clickable in gud.el pdb output.
Jeff Bauer
jbauer at rubic.com
Fri Jan 27 05:12:06 CET 2012
François,
Hah! So funny for you to bring up *that* specific post from
Barry. It's been sitting in my inbox as msg #1 for the past
couple years. Even though I copied it to my org notes, I've
always had it there. So when your email arrived, my reader
threaded it back to Barry's 2-year-old post. What!?
Then I read your text and it all made sense. ;-)
P.S. to Barry: My upgrade to Emacs 24 via launchpad has been
a totally painless non-event.
Jeff "Shawn White" Bauer
Rubicon, Inc.
On Thu, Jan 26, 2012 at 10:44:05PM -0500, François Pinard wrote:
> Barry Warsaw <barry at python.org> writes:
>
> >>How do I invoke pdbtrack from python-mode?
>
> > It's really easy. You still insert 'import pdb; pdb.set_trace()' at the spot
> > in your code where you want to break. Then run your code from a shell buffer.
> > When you hit the break point, you'll drop into pdb. pdb-track will notice the
> > new prompt and you'll be able to interact with it right there. You'll use pdb
> > commands but you'll get the nice two-screen view with code tracking.
>
> Hi, python-mode people.
>
> I quote Barry's explanation above, as an example of fruitful
> instructions about how to use python-mode. Looking at the mailing list
> archives, here and there, I read other nice advice or tricks.
>
> But it's a pity that these did not get collected into a user
> documentation. So my suggestions:
>
> * take the above quote and drop it *as is* within the README file (yes,
> the README, not in the doc/ directory, nor any fancier place). Right
> now, without hesitation.
>
> * whenever any usage advice is given on the list, someone with commit
> powers immediately copies it, as is, within the README.
>
> * do not try to devise a fancy structure or flowing text right away, the
> emergency right now is to give some informational meat to users,
> rather than a nice structure filled with lots of TBDs (to be done).
> The TBDs should go to the TODO file (which, by the way, is the
> traditional capitalisation for it), not in the README.
>
> * do not worry, structure will come very naturally, later, as material
> accumulates within README. Information first, structure later.
>
> * integrate the INSTALL file within README, get rid of it as a separate
> file. It is not worth a file as it stands right now. Let it grow
> within README, and give it an existence in a separate file only when
> it will hold enough substance to be worth its own file. Do not think
> "INSTALL exists so people may start without having to read README".
> On the contrary, manage so users will more likely peruse README.
>
> * get rid of doc/, or at least change its name. Users are mislead to
> think there is a documentation in there that is usable for them.
>
> François
>
> P.S. Reading further, Barry wrote:
>
> > I owe Ken Manheimer a lifetime supply of [insert beverage] for this
> > beautiful hack.
>
> Sigh! If only I could have developed something so attractive that Barry
> did such an offer to *me*. I spoiled my life! :-)
>
> _______________________________________________
> Python-mode mailing list
> Python-mode at python.org
> http://mail.python.org/mailman/listinfo/python-mode
More information about the Python-mode
mailing list