Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added the changes to the readme and history.

  • Loading branch information...
commit e5d0dd04a3f5a65dfa6189f49d5eda32e9a77e5a 1 parent 3031a0a
@dimasad dimasad authored
Showing with 16 additions and 10 deletions.
  1. +2 −1  HISTORY.txt
  2. +14 −9 README.rst
View
3  HISTORY.txt
@@ -4,7 +4,8 @@ Changelog
0.7 (unreleased)
----------------
-- Nothing changed yet.
+- Added the functions ``runcall``, ``runeval`` and ``run``.
+ [dimasad]
0.6.1 (2011-10-17)
View
23 README.rst
@@ -1,20 +1,25 @@
IPython `pdb`
=============
-Use
+Use
+---
-::
-
- from ipdb import set_trace; set_trace()
-
-or
+ipdb exports functions to access the IPython_ debugger, which features
+tab completion, syntax highlighting, better tracebacks, better introspection
+with the same interface as the `pdb` module.
+Example usage:
::
- from ipdb import pm; pm()
+ import ipdb
+ ipdb.set_trace()
+ ipdb.pm()
+ ipdb.run('x[0] = 3')
+ result = ipdb.runcall(function, arg0, arg1, kwarg='foo')
+ result = ipdb.runeval('f(1,2) - 3')
-You then get all IPython_ features (tab completion, syntax highlighting, better
-tracebacks, better introspection) right in `pdb`.
+The post-mortem function, ``ipdb.pm()``, is equivalent to the magic function
+``%debug``.
.. _IPython: http://ipython.org
Please sign in to comment.
Something went wrong with that request. Please try again.