Aaron Meurer
fe62aea58b
Fix installation of pudb3 script
2013-03-18 17:52:36 -06:00
Buck Golemon
cd21961bef
fix issue 52
2013-03-18 15:13:58 -07:00
Greg Ingelmo
443f26e7c7
Add comment w/ urwid issue # for the weird workaround
2013-03-16 18:31:11 -04:00
Greg Ingelmo
89c5fcc9ba
Fix curses dependency on win32
2013-03-16 18:27:19 -04:00
Andreas Kloeckner
b9f7494e02
Bump version. Update welcome screen.
2013-03-14 15:38:40 -04:00
Andreas Kloeckner
c0eca67a4d
Clean up source drawing code. Fix #23 . (incorrect coloring of line numbers)
2013-03-14 13:28:07 -04:00
Andreas Kloeckner
dca3a0e652
Implement workaround for Python issue #17413 : String values appear in exceptions produced by trace. Fix #61 .
...
http://bugs.python.org/issue17413
2013-03-14 12:53:46 -04:00
Andreas Kloeckner
3772fbf39c
Merge branch 'master' of github.com:inducer/pudb
2013-03-12 20:01:21 -04:00
Andreas Kloeckner
186b01c52f
Update distribte_setup.
2013-03-12 20:00:53 -04:00
Aaron Meurer
274f946315
Add note about threads and subprocesses
2013-03-12 17:25:27 -06:00
Aaron Meurer
c084b62977
Merge pull request #63 from asmeurer/signals
...
Start fixing issue #42 and hopefully #31 .
2013-03-12 15:44:53 -07:00
Aaron Meurer
6d95acfbc4
Add documentation for set_interrupt_handler
2013-03-12 16:36:49 -06:00
Aaron Meurer
3074c987c6
Add DEFAULT_SIGNAL hook to let people disable use of SIGINT
2013-03-12 16:36:25 -06:00
Aaron Meurer
3c2d5aeedd
Fix up some more of the interrupt framework
...
This (partially) fixes #31 , and also improves work on #42 .
Now, interrupting with Control-C works when the debugging is started with
set_trace().
The SIGINT handler is enabled via the public function
pudb.set_interrupt_handler. If you want to be able to enter PuDB from within
your application, just call this function. By default, it uses SIGINT (i.e.,
Control-C), but you can change it to use a different signal if that one
interferes.
There is still one major issue, which is that when you break in the middle of
an atomic operation, it goes to bdb. After pressing `n` several times you get
to your code, though.
2013-03-11 23:06:46 -06:00
Aaron Meurer
8911613bbf
Enable Control-C to pause the debugger
...
This fixes #42 . Now pressing Control-C while the script is running enters the
debugger in the line that was run (i.e., it does a set_trace()).
Note that this only works if the script was invoked from `pudb` or `python -m
pudb`. If PuDB was started with `import pudb; pudb.set_trace()`, this does
not work. But not that even without this patch, Control-C kills Python
entirely in that case (as opposed to entering post-mortem mode).
2013-03-11 19:38:29 -06:00
Aaron Meurer
7b35aed004
Add .DS_Store to .gitignore
2013-03-11 19:16:49 -06:00
Aaron Meurer
3df6ca74f3
Add .mailmap
...
Now git shortlog -ns has no duplicates. Also, I wanted an excuse to exercise
my push access :)
2013-03-11 19:14:57 -06:00
Andreas Kloeckner
29db234e8e
Add support for __version__. (suggested by Luke Lee)
2013-03-10 14:52:58 -04:00
Andreas Kloeckner
4d6c814095
Don't crash when on '.' and ',' with no last search. Fixes #62 .
2013-03-10 13:21:36 -04:00
Andreas Kloeckner
89ace11f2b
Allow saving the current traceback to a text file.
2013-03-10 13:18:36 -04:00
Andreas Klöckner
23a647c7fe
Merge pull request #60 from asmeurer/readme
...
Small updates to the README
2013-03-05 21:23:19 -08:00
Aaron Meurer
ceabd10ab7
Mention pull requests
2013-03-05 20:41:27 -07:00
Aaron Meurer
42b8fe1ad6
Update README to mention pudb
script
2013-03-05 20:41:00 -07:00
Andreas Kloeckner
4059aeb09f
Fix Python 2-ism in exception catching.
...
Proper Py2/3 fix pointed out by Aaron Meurer.
2013-03-05 19:58:11 -05:00
Andreas Kloeckner
aa5503dde5
Revert "Insert 2to3 invocation into setup.py."
...
This reverts commit 4f913f6d7d
,
in accordance with the decision [1] to not use 2to3.
[1] https://github.com/inducer/pudb/pull/1
2013-03-05 19:44:20 -05:00
Andreas Kloeckner
4f913f6d7d
Insert 2to3 invocation into setup.py.
2013-03-05 14:33:22 -05:00
Greg Ingelmo
98a048167a
Add 256 color support to syntax highlighting.
2013-03-02 18:41:13 -05:00
Andreas Kloeckner
3ee234ba4a
Catch I/O errors in readline setup.
2013-02-23 15:51:04 -05:00
Andreas Klöckner
534888316e
Merge pull request #54 from asmeurer/console_scripts
...
Install scripts pudb (or pudb3 for Python 3) with setup.py
2013-01-29 16:09:59 -08:00
Aaron Meurer
97d0b0c9a3
Fix setup.py to work in Python 2.4
2013-01-29 01:08:16 -07:00
Aaron Meurer
69743d88d9
Install scripts pudb (or pudb3 for Python 3) with setup.py
...
These work exactly the same as python -m pudb.run.
2013-01-27 18:06:56 -07:00
Andreas Kloeckner
e06126ca8b
Be more serious about Debugger being a singleton. Only load breakpoints once.
2013-01-11 09:37:40 -05:00
Andreas Kloeckner
1121ad634a
Avoid broken backwards compatibility by switching to new interface. Require urwid 1.1.1.
2013-01-11 08:43:39 -05:00
Andreas Kloeckner
8577143b61
Various file display fixes.
2012-12-04 13:14:55 -05:00
Andreas Kloeckner
9581452001
Allow Ctrl-r to reload breakpoints.
2012-12-04 13:14:23 -05:00
Andreas Kloeckner
825f255e11
Only use dir() to get object attributes.
2012-08-14 20:24:46 -04:00
Andreas Kloeckner
c838943b15
Add minimum Python version blurb.
2012-08-11 16:10:48 -04:00
Andreas Kloeckner
62bcf9fbaf
Substitute partial() if unavailable.
2012-08-11 16:09:25 -04:00
Andreas Klöckner
488689ed5c
Merge pull request #44 from asmeurer/alpha_config
...
Save config file in alphabetical order
2012-08-07 19:02:25 -07:00
Aaron Meurer
f735c07e9b
Save config file in alphabetical order
...
This makes it a lot easier to track such files in git.
2012-08-07 17:41:50 -06:00
Andreas Kloeckner
b7300c2422
Bump version.
2012-08-06 11:30:43 -04:00
Andreas Kloeckner
1c696ed990
Fix 'restart' option in 'finished' dialog.
2012-08-06 11:26:36 -04:00
Andreas Kloeckner
39908802f1
Made it possible to go back and examine state from 'finished' window. (suggested by A. Meurer)
2012-07-24 19:24:58 -04:00
Andreas Kloeckner
6d0e846936
Improve search box behavior.
2012-07-24 18:03:53 -04:00
Andreas Kloeckner
874e85c6f4
Add Py 3 support to change log.
2012-07-24 10:36:53 -04:00
Andreas Kloeckner
5869490e38
Change H to go to bottom of stack.
2012-07-24 10:35:41 -04:00
Andreas Klöckner
61137e6e5d
Merge pull request #41 from bfroehle/2and3
...
Fix one small Python 3 bug... (missing a definition for raw_input).
2012-07-19 10:58:13 -07:00
Bradley M. Froehle
d04d29e4f6
Fix missing raw_input in Python 3.
2012-07-19 10:48:15 -07:00
Andreas Kloeckner
f15ff23d70
Tag for Python 3 support.
2012-07-14 16:33:17 -04:00
Andreas Kloeckner
103ae06a01
Minor fix to bfroehle's Python 3 changes.
2012-07-14 16:29:32 -04:00