Show More
@@ -15,7 +15,7 b' details on the PSF (Python Software Foundation) standard license, see:' | |||
|
15 | 15 | |
|
16 | 16 | http://www.python.org/2.2.3/license.html |
|
17 | 17 | |
|
18 |
$Id: Debugger.py 29 |
|
|
18 | $Id: Debugger.py 2913 2007-12-31 12:42:14Z vivainio $""" | |
|
19 | 19 | |
|
20 | 20 | #***************************************************************************** |
|
21 | 21 | # |
@@ -44,18 +44,20 b' from IPython.excolors import ExceptionColors' | |||
|
44 | 44 | # See if we can use pydb. |
|
45 | 45 | has_pydb = False |
|
46 | 46 | prompt = 'ipdb> ' |
|
47 | #We have to check this directly from sys.argv, config struct not yet available | |
|
48 | if '-pydb' in sys.argv: | |
|
47 | 49 | try: |
|
48 | 50 | import pydb |
|
49 | 51 | if hasattr(pydb.pydb, "runl") and pydb.version>'1.17': |
|
50 | 52 | # Version 1.17 is broken, and that's what ships with Ubuntu Edgy, so we |
|
51 |
# better prote |
|
|
53 | # better protect against it. | |
|
52 | 54 | has_pydb = True |
|
53 | from pydb import Pdb as OldPdb | |
|
54 | 55 | except ImportError: |
|
55 | pass | |
|
56 | print "Pydb (http://bashdb.sourceforge.net/pydb/) does not seem to be available" | |
|
56 | 57 | |
|
57 | 58 | if has_pydb: |
|
58 | 59 | from pydb import Pdb as OldPdb |
|
60 | #print "Using pydb for %run -d and post-mortem" #dbg | |
|
59 | 61 | prompt = 'ipydb> ' |
|
60 | 62 | else: |
|
61 | 63 | from pdb import Pdb as OldPdb |
@@ -6,7 +6,7 b' Requires Python 2.1 or better.' | |||
|
6 | 6 | |
|
7 | 7 | This file contains the main make_IPython() starter function. |
|
8 | 8 | |
|
9 |
$Id: ipmaker.py 2 |
|
|
9 | $Id: ipmaker.py 2913 2007-12-31 12:42:14Z vivainio $""" | |
|
10 | 10 | |
|
11 | 11 | #***************************************************************************** |
|
12 | 12 | # Copyright (C) 2001-2006 Fernando Perez. <fperez@colorado.edu> |
@@ -161,6 +161,7 b" object? -> Details about 'object'. ?object also works, ?? prints more." | |||
|
161 | 161 | 'debug! deep_reload! editor=s log|l messages! nosep ' |
|
162 | 162 | 'object_info_string_level=i pdb! ' |
|
163 | 163 | 'pprint! prompt_in1|pi1=s prompt_in2|pi2=s prompt_out|po=s ' |
|
164 | 'pydb! ' | |
|
164 | 165 | 'pylab_import_all! ' |
|
165 | 166 | 'quick screen_length|sl=i prompts_pad_left=i ' |
|
166 | 167 | 'logfile|lf=s logplay|lp=s profile|p=s ' |
@@ -13,6 +13,9 b'' | |||
|
13 | 13 | coexistence of multiple IPython instances in the same python |
|
14 | 14 | interpreter (#197). |
|
15 | 15 | |
|
16 | * Debugger.py, ipmaker.py: Need to add '-pydb' command line | |
|
17 | switch to enable pydb in post-mortem debugging and %run -d. | |
|
18 | ||
|
16 | 19 | 2007-12-28 Ville Vainio <vivainio@gmail.com> |
|
17 | 20 | |
|
18 | 21 | * ipy_server.py: TCP socket server for "remote control" of an IPython |
@@ -26,3 +26,10 b' Changes made since version 0.8.1 was released:' | |||
|
26 | 26 | * %pushd/%popd behave differently; now "pushd /foo" pushes CURRENT directory |
|
27 | 27 | and jumps to /foo. The current behaviour is closer to the documented |
|
28 | 28 | behaviour, and should not trip anyone. |
|
29 | ||
|
30 | Version 0.8.3 | |
|
31 | ============= | |
|
32 | ||
|
33 | * pydb is now disabled by default (due to %run -d problems). You can enable | |
|
34 | it by passing -pydb command line argument to IPython. Note that setting | |
|
35 | it in config file won't work. No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now