Commit Graph

396 Commits

Author SHA1 Message Date
Andreas Kloeckner
7b78bded59 Merge branch '2and3' of git://github.com/bfroehle/pudb 2012-07-14 16:16:15 -04:00
Bradley M. Froehle
605d9e1c2e Simultaneous Python 2/3 compatibility. 2012-07-13 17:59:47 -07:00
Andreas Klöckner
63f1e6391d Merge pull request #39 from adw0rd/master
Fixed a writer the duplicate breakpoints when working with Django
2012-06-16 11:09:29 -07:00
Mikhail Andreev (aka adw0rd)
7808883ddb Fixed a writer the duplicate breakpoints when working with Django 2012-06-16 21:52:31 +04:00
Andreas Kloeckner
b32b4e52d6 Bump version. 2012-06-06 11:48:22 -04:00
Andreas Kloeckner
bbea96bf5f Don't touch config files during install. (report by Thomas Ballinger) 2012-06-06 11:47:13 -04:00
Andreas Kloeckner
460fc0c4e7 Bump version. 2012-05-27 10:58:56 -04:00
Andreas Kloeckner
981340f694 Support BPython as a shell. 2012-05-27 10:55:56 -04:00
Andreas Kloeckner
127388b494 Support 'python -m pudb script.py' on 2.6+. 2012-05-27 10:55:21 -04:00
Andreas Kloeckner
5eefca6f63 Attribution for debug_me.py. 2012-05-12 02:37:28 -04:00
Andreas Klöckner
f65d3f635a Merge pull request #37 from bukzor/master
encoding detection
2012-04-24 19:00:34 -07:00
Buck Golemon
bd8c52d8d2 the encoding directive must be a comment 2012-04-24 15:45:35 -07:00
Andreas Klöckner
8c6fe8681b Merge pull request #36 from pvaret/master
Don't crash PuDB when viewing an object with a buggy str() or repr().
2012-04-12 14:58:36 -07:00
P. Varet
04a64ba435 Don't crash PuDB when viewing an object with a buggy str() or repr(). 2012-04-12 11:42:45 +02:00
Andreas Kloeckner
4a090bf0d7 Fix update order in SetPropagatingDict for classic shell. (fix issue 35, reported by James Saryerwinnie) 2012-03-25 23:37:44 -04:00
Andreas Kloeckner
ec8c22aad7 Bump version. 2012-01-31 20:36:04 -05:00
Andreas Kloeckner
07bfee098b Deal with incompatible change in IPy 0.12 API.
See https://github.com/inducer/pudb/issues/30
2012-01-10 16:27:38 -05:00
Andreas Kloeckner
14c076baec Catch and ignore error setting IPython's user_global_ns. (reported by Aaron Meurer) 2012-01-06 09:52:35 -05:00
Andreas Klöckner
8d0a9a4c77 Merge pull request #29 from pvaret/master
Don't crash when debugging threaded app.
2012-01-04 05:35:27 -08:00
P. Varet
7d9226da23 Don't crash when running PuDB from a non-main thread. 2012-01-04 14:04:41 +01:00
Andreas Klöckner
b842f7d0b8 Merge pull request #27 from asmeurer/typo
Fix a typo
2011-12-20 06:35:24 -08:00
Aaron Meurer
1c97f3bbed Fix a typo 2011-12-20 05:01:27 -07:00
Andreas Kloeckner
bd644fac8e Work around an issue in urwid >= 1.0. 2011-12-05 14:46:48 -05:00
Andreas Kloeckner
fb377a95d4 Make sure users get that the help is scrollable. 2011-11-11 15:43:18 -05:00
Andreas Kloeckner
aa90acab64 Change docs for 'L', suggested by Joachim Durchholz. 2011-11-11 15:06:35 -05:00
Andreas Kloeckner
86f0247dba Bump version. 2011-08-29 23:25:24 +02:00
Andreas Kloeckner
a3013d2111 Bump urwid version. Add README to MANIFEST.in. 2011-08-29 23:20:48 +02:00
Andreas Kloeckner
3a86704142 Don't crash on 'delete' command to empty breakpoint window. 2011-08-18 19:50:05 +02:00
Andreas Kloeckner
74abb5c1d6 Add version history entry for line wrap. 2011-08-10 16:40:18 +02:00
Andreas Kloeckner
0468f0e758 Merge branch 'wrap-from-aaron' 2011-08-10 16:38:55 +02:00
Andreas Kloeckner
26e20abdac Make sure current stack frame is always visible. 2011-08-10 02:28:35 +02:00
Andreas Klöckner
d73bbc29b0 Merge pull request #21 from asmeurer/stringifier-update
Update custom stringifier example with a method to use sub-second timeout
2011-08-09 05:14:32 -07:00
Aaron Meurer
2aee92e680 Update run_with_timeout docstring 2011-08-09 05:22:50 -06:00
Aaron Meurer
a7852f1b53 Update custom stringifier example with a method to use sub-second timeouts 2011-08-09 04:13:17 -06:00
Andreas Kloeckner
3d88029cc0 Revert "Fixed positioning of format attributes with multibyte character encodings."
This reverts commit 7841e63408.
2011-08-08 16:43:26 +02:00
Andreas Klöckner
327668f4ba Merge pull request #20 from pvaret/master
Fixed ANSI formatting on UTF-8 source code.
2011-08-08 07:16:28 -07:00
P. Varet
7841e63408 Fixed positioning of format attributes with multibyte character encodings. 2011-08-08 15:38:14 +02:00
P. Varet
4c16108657 Fixed tab expansion. 2011-08-08 15:38:14 +02:00
Andreas Klöckner
2115d0c35b Merge pull request #19 from asmeurer/midnight-fix
Use light blue for variable names in the midnight theme
2011-08-08 01:36:57 -07:00
Aaron Meurer
43c4dcced7 Use light blue for variable names in the midnight theme
Dark blue is too hard to read against a black background.
2011-08-07 19:35:36 -06:00
Aaron Meurer
0f14175b2f Make "| " the prefix before nested variables
I've factored this out into a single variable so that it's easy to
change to something else if you don't like it.
2011-08-07 19:33:44 -06:00
Aaron Meurer
e2507fb8ce Print ellipsis at the end of an overlong unwrapped variable
This was supposed to use the unicode ellipsis (…) when possible, but
this does not work.  The behavior is very strange.  If you replace the
last character with …, it puts a ?.  If you replace the second to last
character, it replaces that *and* the last character with a ?.  If you
replace the third to last character, it works.  Therefore, for now, we
always just use ... (three dots) regardless of the console encoding.
2011-08-07 04:10:57 -06:00
Aaron Meurer
b75266667b Add a checkbox for wrapping to the Variable Inspection Options window 2011-08-07 03:21:31 -06:00
Aaron Meurer
2c5626352c Fix a bug where boolean settings set to True were set to "True" 2011-08-07 03:21:13 -06:00
Aaron Meurer
cab1568cc5 Add w shortcut for toggling wrapping in the variables view 2011-08-07 03:04:36 -06:00
Andreas Klöckner
697964333e Merge pull request #17 from asmeurer/modules_bug
Fix bug in modules viewer caused by move from AttrWrap to AttrMap
2011-08-07 02:04:16 -07:00
Aaron Meurer
bbd9ef92dc Fix * shortcut for displaying of private members in expanded vars view 2011-08-07 03:03:28 -06:00
Aaron Meurer
bf78b4a6e6 Remove 200 character limit on strings in the variables view
If someone wants to limit the length of the string, he should write a
custom stringifier to do it.
2011-08-07 02:31:38 -06:00
Aaron Meurer
4b0852f197 Add variable wrapping to the prefs 2011-08-07 02:14:06 -06:00
Aaron Meurer
8acd47d870 Enable wrapping of variables in the variables view
I also added an option for this, which made it easier for me to debug.
I haven't added it to the prefs yet.

TODO:

- Add the option to the prefs.

- Allow to turn on wrapping on a per-variable basis ('w' will turn this
  on and off in the variables,   view, and there will also be an option
  in the variable inspection options window).

- Right now, wrapped lines beyond the first line are indented two
  spaces.  This is the same as what digging into a variable looks like,
  which make it confusing (granted, digging in still indents further,
  but it's harder to follow).  I think variables that are sub variables
  should have some kind of character preceding them, like:

    varname: [1, 2, 3]
    + 0: 1
    + 1: 2
    + 2: 3

- When variables are not wrapped, there should be an ellipses at the
  end.  When unicode is supported, we can use …, otherwise, we use ...
2011-08-07 01:10:11 -06:00