<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/bashdb/patches/" rel="alternate"/><link href="https://sourceforge.net/p/bashdb/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/bashdb/patches/</id><updated>2019-10-07T18:06:11.212000Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>#5 Support for xemacs in mdb.el</title><link href="https://sourceforge.net/p/bashdb/patches/5/?limit=25#0fad" rel="alternate"/><published>2019-10-07T18:06:11.212000Z</published><updated>2019-10-07T18:06:11.212000Z</updated><author><name>Rocky Bernstein</name><uri>https://sourceforge.net/u/rockyb/</uri></author><id>https://sourceforge.net0b99b61e92c536c47e7da87fe1cd52f3dfb68603</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; wont-fix&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: Rocky Bernstein&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#5 Support for xemacs in mdb.el</title><link href="https://sourceforge.net/p/bashdb/patches/5/?limit=25#68c1" rel="alternate"/><published>2019-10-07T18:05:43.665000Z</published><updated>2019-10-07T18:05:43.665000Z</updated><author><name>Rocky Bernstein</name><uri>https://sourceforge.net/u/rockyb/</uri></author><id>https://sourceforge.net3bbe5bde272024b8ce931ea109ecd833de5da863</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;We don't distubute Emacs el files anymore.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Better emacs integration (similar to gdb-ui)</title><link href="https://sourceforge.net/p/bashdb/patches/6/" rel="alternate"/><published>2007-08-26T09:37:55Z</published><updated>2007-08-26T09:37:55Z</updated><author><name>Alberto Griggio</name><uri>https://sourceforge.net/u/agriggio/</uri></author><id>https://sourceforge.net5ed7a52498d2cec5458020bbb5ab5c9312495191</id><summary type="html">Hello,
first, thanks for pydb, it's definitely the nicest python debugger I've seen,
and quite intuitive too \(especially for gdb users\).

One thing I missed from gdb was the great emacs integration, i.e. the "many
windows" mode where you have a special buffer for stack frames, local
variables, breakpoints \(and others\). So, I tried to fix the problem, and I
came up with this patch.

DESCRIPTION:
\------------

This is divided in two parts: on the python side, a patch to pydb.py.in to
introduce annotations, and a patch to pydb.el on the emacs side to exploit
them for showing more information.

On the python side, there's a new command line option, --annotate.
It produces annotations that are similar in purpose to those of GDB \(see
that manual for a description\), although the syntax is different.
they have the following format:
^Z^Zannotname
&amp;lt;arbitrary text&amp;gt;
^Z^Z
where ^Z is the ctrl-Z character, and "annotname" is the name of the
annotation. A line with only two ^Z ends the annotation \(no nesting
allowed\). In particular, three annotations are produced: "breakpoints",
"stack" and "locals". They are printed every time\(\*\) breakpoints, stack frame
or local variables change, thus allowing a client to be notified of such
changes. Their contents is exactly the information to display \(for instance,
for the "breakpoints" annotation the content is the output of the
do\_info\("breakpoints"\) command\).

\(\*\) actually, the current code is a bit conservative, and annotations might be
generated even when not necessary...


On the Emacs side, I've introduced the following changes:
\- \`gud-pydb-marker-filter' now detects annotations and treats them specially,
handing them over to the new function \`pydb-process-annotation', and not
displaying their output

\- \`pydb-process-annotation' associates each annotation to a special buffer
\(much like in gdb-ui, for breakpoints, stack frames, and locals\). Buffers
for breakpoints and stack frames have special fontification and keyboard and
mouse navigation:

\* Middle-click \(or RET\) on a breakpoint brings you to its location in the
source file
\* SPC enables/disables the current breakpoint
\* d deletes it

\* Left or middle-click \(or RET\) on the stack frame i is equivalent to the
"frame i" command

\- A customizable variable \`pydb-many-windows' controls the default layout when
invoking pydb: if t, a layout similar to what \`gdb-many-windows' produces is
displayed:

+---------------------+---------------------------+
|                     |                           |
|  PYDB buffer        |         Locals buffer     |
|                     |                           |
|                     |                           |
+---------------------+---------------------------+
|                                                 |
|                                                 |
|          Source code buffer                     |
|                                                 |
|                                                 |
|                                                 |
+---------------------+---------------------------+
|                     |                           |
|                     |                           |
| Stack frames buffer |    Breakpoints buffer     |
|                     |                           |
|                     |                           |
+---------------------+---------------------------+



The code could probably be improved, and needs some more testing \(but that's
why I'm sending this :-\), but it should work. And if some further patches are
needed, I can help afterwards \(if time permits\).


Thanks again for your work on Pydb, I hope you find this useful,

Alberto
</summary></entry><entry><title>Support for xemacs in mdb.el</title><link href="https://sourceforge.net/p/bashdb/patches/5/" rel="alternate"/><published>2007-08-06T15:30:16Z</published><updated>2007-08-06T15:30:16Z</updated><author><name>Rajish</name><uri>https://sourceforge.net/u/rajish/</uri></author><id>https://sourceforge.net518771d4aa093dc78fa32c86edd594c2622f904b</id><summary type="html">This is a hack - not a portable solution. You have to add some conditionals to make it work either in emacs or xemacs.</summary></entry><entry><title>Support for xemacs in mdb.el</title><link href="https://sourceforge.net/p/bashdb/patches/5/" rel="alternate"/><published>2007-08-06T15:30:16Z</published><updated>2007-08-06T15:30:16Z</updated><author><name>Rajish</name><uri>https://sourceforge.net/u/rajish/</uri></author><id>https://sourceforge.net5b00d884d5f002ca99b359be433ea7cdd08ef1f0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 5 has been modified: Support for xemacs in mdb.el&lt;br/&gt;
Edited By: Rocky Bernstein (rockyb)&lt;br/&gt;
Status updated: u'open' =&amp;gt; u'wont-fix'&lt;br/&gt;
Owner updated: None =&amp;gt; u'rockyb'&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Better support for tracking position in NTEmacs</title><link href="https://sourceforge.net/p/bashdb/patches/4/" rel="alternate"/><published>2007-02-22T19:15:12Z</published><updated>2007-02-22T19:15:12Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net781c9c2af683f7605b976f7e20fd7e5deb334111</id><summary type="html">The emacs regexps used to track the current line don't handle all types of path names under Windows.  This patch   adds support to both regexps for:  
\* C:\ style paths
\* spaces in path

\(diff against current cvs\)

</summary></entry><entry><title>Make breakpoints work for files outside cwd</title><link href="https://sourceforge.net/p/bashdb/patches/3/" rel="alternate"/><published>2007-02-12T16:36:51Z</published><updated>2007-02-12T16:36:51Z</updated><author><name>Jouni K Seppänen</name><uri>https://sourceforge.net/u/jouni/</uri></author><id>https://sourceforge.net0a22852fbee42674aa338f27d11aafb67b40f663</id><summary type="html">Setting breakpoints works only for files that are either in the current working directory of the debugger or found on sys.path. This patch makes Emacs use the full pathname of files so you can set breakpoints in any file.</summary></entry><entry><title>With patch this time.</title><link href="https://sourceforge.net/p/bashdb/patches/2/" rel="alternate"/><published>2005-03-31T15:28:44Z</published><updated>2005-03-31T15:28:44Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net4d2546f33b70ea7dd21f3a22d5daa8a2a67e4742</id><summary type="html">fixed compilation issue and empty line handline for remake
I made two fixes. The first was a configure.ac thing
... my system has
readline.a, but not termcap.a ... and readline was not
getting found for want to termcap. So I added a
seperate check for termcap before readline. It works
for me.

Secondly, when interactively debugging, just hitting
enter would not
step as expected .... it just repeated the prompt. So
I messed with the logic in enter\_debugger.
</summary></entry><entry><title>fixed compilation issue and empty line handline for remake</title><link href="https://sourceforge.net/p/bashdb/patches/1/" rel="alternate"/><published>2005-03-31T15:25:52Z</published><updated>2005-03-31T15:25:52Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netf6539170834840fecdab679e0b8c70ff20d014c6</id><summary type="html">I made two fixes.  The first was a configure.ac thing
... my system has
readline.a, but not termcap.a ... and readline was not
getting found for want to termcap.  So I added a
seperate check for termcap before readline.  It works
for me.

Secondly, when interactively debugging, just hitting
enter would not
step as expected .... it just repeated the prompt.  So
I messed with the logic in enter\_debugger.

</summary></entry></feed>