<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/pdb.py, branch v2.4b2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/pdb.py?h=v2.4b2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/pdb.py?h=v2.4b2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-10-24T00:32:24Z</updated>
<entry>
<title>SF bug #1052503:  pdb runcall should accept keyword arguments</title>
<updated>2004-10-24T00:32:24Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-10-24T00:32:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2ef7e6c8f24856aacc15bd9dc51a7ee2081547b3'/>
<id>urn:sha1:2ef7e6c8f24856aacc15bd9dc51a7ee2081547b3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2004-10-12T21:51:32Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-10-12T21:51:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e718f615b8365f331f9f9038d1273ba370e44a06'/>
<id>urn:sha1:e718f615b8365f331f9f9038d1273ba370e44a06</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improvements when running pdb as a script.</title>
<updated>2004-10-12T18:12:09Z</updated>
<author>
<name>Johannes Gijsbers</name>
<email>jlg@dds.nl</email>
</author>
<published>2004-10-12T18:12:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=25b38c89690e79e8f3bc78245b73017eed07f42e'/>
<id>urn:sha1:25b38c89690e79e8f3bc78245b73017eed07f42e</id>
<content type='text'>
Bug fixes:

* Use fresh copy of globals/locals so the script being debugged can't access
  the pdb namespace (e.g.: p line_prefix will no longer work).

* Remove pdb.py's path from sys.path. Having it in there is normally not a
  problem, but it could prove irritating when messing with PYTHONPATH or
  invoking pdb via /usr/bin/pdf.

* You can now set a breakpoint on the script being debugged, even if the script
  doesn't end with a '.py' extension. Also, setting breakpoints with absolute
  paths now works reliably.

Enhancements:

* Go directly to the first line of the script.

* Enter post-mortem debugging if the script being debugged doesn't catch an
  exception.

* Restart the script being debugged and preserve debugger state when the script
  being debugged exits.

Cleanup:

* Moved the __main__ method into a main() function.

* Kill the (undocumented, not in __all__) mainmodule/mainpyfile globals, add a
  mainpyfile attribute to pdb.

Thanks Ilya Sandler for the patch!
</content>
</entry>
<entry>
<title>Patch #1003640: replace checkline() function parsing with new breakpoint logic:</title>
<updated>2004-08-30T13:29:44Z</updated>
<author>
<name>Johannes Gijsbers</name>
<email>jlg@dds.nl</email>
</author>
<published>2004-08-30T13:29:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4a9faa1ea077c0cf054d0d2ee1dc889b2972a63b'/>
<id>urn:sha1:4a9faa1ea077c0cf054d0d2ee1dc889b2972a63b</id>
<content type='text'>
1) When a breakpoint is set via a function name:
- the breakpoint gets the lineno of the def statement
- a new funcname attribute is attached to the breakpoint

2) bdb.effective() calls new function checkfuncname() to handle:
- def statement is executed: don't break.
- a first executable line of a function with a breakpoint on the lineno of the
def statement is reached: break.

This fixes bugs 976878, 926369 and 875404. Thanks Ilya Sandler.
</content>
</entry>
<entry>
<title>bug #989672: pdb.doc and the help messages for the help_d and help_u methods</title>
<updated>2004-08-14T15:19:28Z</updated>
<author>
<name>Johannes Gijsbers</name>
<email>jlg@dds.nl</email>
</author>
<published>2004-08-14T15:19:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=34c4120731b498663e38edc4d975d4a8c3071da0'/>
<id>urn:sha1:34c4120731b498663e38edc4d975d4a8c3071da0</id>
<content type='text'>
of the pdb.Pdb class gives have been corrected. d(own) goes to a newer frame,
u(p) to an older frame, not the other way around.
</content>
</entry>
<entry>
<title>Replace backticks with repr() or "%r"</title>
<updated>2004-02-12T17:35:32Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2004-02-12T17:35:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=70a6b49821a3226f55e9716f32d802d06640cb89'/>
<id>urn:sha1:70a6b49821a3226f55e9716f32d802d06640cb89</id>
<content type='text'>
From SF patch #852334.
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2003-06-15T23:26:30Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-06-15T23:26:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f545baa0cce0fd92d5cd0d507e19c848ce9d95e8'/>
<id>urn:sha1:f545baa0cce0fd92d5cd0d507e19c848ce9d95e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[Bug #741171] pdb crashes when enabling a non-existing breakpoint</title>
<updated>2003-05-22T14:46:12Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2003-05-22T14:46:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b1f8bab6542635cd32dfbebde3839f86819548ab'/>
<id>urn:sha1:b1f8bab6542635cd32dfbebde3839f86819548ab</id>
<content type='text'>
Check the supplied breakpoint number more carefully.
(Incompatibility: before this patch, "enable -1" would enable
the last breakpoint on the list; now -1 is not a legal ID.  Not sure
anyone would ever use negative indices...)

2.2 bugfix candidate, assuming making -1 illegal isn't considered a problem.
</content>
</entry>
<entry>
<title>Detabified.</title>
<updated>2003-04-09T19:36:34Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2003-04-09T19:36:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ed538d8b39addebb182de0bc465206dd7e122d0c'/>
<id>urn:sha1:ed538d8b39addebb182de0bc465206dd7e122d0c</id>
<content type='text'>
Removed dead code.
</content>
</entry>
<entry>
<title>- New function sys.call_tracing() allows pdb to debug code</title>
<updated>2003-04-09T19:06:21Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2003-04-09T19:06:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a12fe4e81fa3221458e16225e76ec7b8a05820ee'/>
<id>urn:sha1:a12fe4e81fa3221458e16225e76ec7b8a05820ee</id>
<content type='text'>
  recursively.
- pdb has a new command, "debug", which lets you step through
  arbitrary code from the debugger's (pdb) prompt.
</content>
</entry>
</feed>
