Andreas Kloeckner
f774eb28be
Bump version
2018-05-24 13:26:14 +02:00
Andreas Klöckner
a7bd72f32d
Merge pull request #293 from asmeurer/underscore_vars
...
Show variables that start with an underscore in the var view
2018-04-10 16:41:18 -05:00
Aaron Meurer
be23e69876
Show variables that start with an underscore in the var view
...
We still filter things that start and end with __, to filter out things like
__builtins__, __file__, and so on. It also removes the filtering of variables
that start with ., which is only possible if something puts that in globals()
manually.
Fixes #292 .
2018-04-10 17:34:51 -04:00
Aaron Meurer
3f627ce0f7
Merge pull request #273 from asmeurer/text_width
...
Improve some text width calculations
2018-03-13 01:32:08 -04:00
Andreas Klöckner
e478e573f0
Merge pull request #287 from Allda/master
...
Show length of array types in var view
2017-12-29 12:55:15 -06:00
Ales Raszka
3f543148af
Show length of array types in var view
...
The new code shows length of set, frozenset, list, tuple and dict type
varibles in variable view.
2017-12-29 14:14:36 +01:00
Andreas Kloeckner
8d26bdf53a
Don't crash on var state changes if no variable shown
2017-12-16 14:23:33 -06:00
Andreas Klöckner
481ee21740
Merge pull request #283 from lins05/set-socket-reuseaddr-for-remote-debugger
...
set socket REUSEADDR opt for the remote debugger
2017-11-27 01:02:23 -06:00
Shuai Lin
708f16d5bd
set socket REUSEADDR opt for the remote debugger
2017-11-27 14:41:15 +08:00
Andreas Klöckner
d3676235aa
Merge pull request #282 from AlDanial/go_to_line_number_PR
...
update Go-to-Line UI with File/Current Line/Go to Line
2017-11-07 00:03:26 -06:00
Al Danial
34da7d364e
set default value of 'Go to Line' to None instead of empty string
2017-11-06 21:46:17 -08:00
Al Danial
8c81537902
update Go-to-Line UI with File/Current Line/Go to Line
2017-11-05 21:06:31 -08:00
Andreas Kloeckner
5ffbd1aa94
Merge branch 'master' of github.com:inducer/pudb
2017-10-29 13:43:27 +01:00
Andreas Kloeckner
54fca0286a
Placate new Flake8; add some license headers
2017-10-29 13:43:15 +01:00
Andreas Klöckner
e7b1d9d4fd
Merge pull request #281 from koreno/fix-hasattr-safely_stringify_for_pudb-276
...
check 'safely_stringify_for_pudb' on the type #276
2017-10-15 10:07:10 -05:00
Ofer Koren
1d822626ce
check 'safely_stringify_for_pudb' on the type #276
...
The hasattr call should check for 'safely_stringify_for_pudb' on the type of the object
instead of the object itself, so as not to implicitly call its __getattr__ (if implemented).
This will avoid the exceptions on such magic objects.
2017-10-15 15:23:17 +03:00
Aaron Meurer
b34f82ebaf
Use urwid.util.calc_text_pos() in make_canvas()
...
Fixes the issue in the comment
https://github.com/inducer/pudb/issues/271#issuecomment-326776945 . I don't
know if it also fixes the issue itself.
2017-09-03 02:20:09 -04:00
Aaron Meurer
983abcc509
Use text_width() in var_view
...
I am unsure if it really needs to be used for the variable name itself (can
variable names be double-width characters?), but I suppose it can't hurt.
2017-09-02 20:53:13 -04:00
Aaron Meurer
4dd084793d
Create text_width() help function for getting the (terminal) width of a string
2017-09-02 20:52:53 -04:00
Andreas Klöckner
676ee9d2fc
Merge pull request #272 from asmeurer/return-module-fix
...
Don't return early when "returning" from a module
2017-09-02 19:49:49 -05:00
Aaron Meurer
6e285b6479
Don't return early when "returning" from a module
...
We still need to run interaction so that the debugger will show the result of
the last line that was run. We just don't want it to treat the end of the
module as a "return".
For instance, if you have a file with a single variable definition
a = 1
then if you stop on the definition, pudb will show the variable "a: 1" in the
variables view (but it won't show "return: None" after stepping again).
Fixes https://github.com/inducer/pudb/pull/264#issuecomment-326777042 .
2017-09-02 20:37:30 -04:00
Andreas Kloeckner
6be804e07a
Bump version
2017-09-02 13:51:08 -05:00
Andreas Kloeckner
9d148d828b
Merge branch 'master' of github.com:inducer/pudb
2017-09-02 13:45:42 -05:00
Andreas Kloeckner
fe4635750d
Check whether output from obj.safely_stringify_for_pudb() is actually a string, so as to not be confused by Mock objects ( closes #270 on github)
2017-09-02 13:44:48 -05:00
Andreas Klöckner
67b485e397
Merge pull request #268 from Alok/add-ptipython
...
Fix keyword arg error
2017-08-29 19:25:34 -05:00
Alok Singh
9b60c547f0
fix keyword arg error
2017-08-29 16:50:33 -07:00
Andreas Klöckner
fb9f256369
Merge pull request #266 from Alok/add-ptipython
...
fix lint errors
2017-08-27 18:00:15 -05:00
Alok Singh
dfba7f6c66
fix lint errors
2017-08-27 14:33:51 -07:00
Andreas Klöckner
c98b8e7d7b
Merge pull request #265 from Alok/add-ptipython
...
Add ptipython
2017-08-27 15:54:47 -05:00
Alok Singh
7b48753bb0
rm incorrect import
2017-08-27 13:16:32 -07:00
Alok Singh
2cd3c25db9
add ptipython support
2017-08-27 13:14:42 -07:00
Aaron Meurer
ffb803e5b3
Merge pull request #264 from asmeurer/return-module
...
Don't show "Return: None" when "returning" from a module frame
2017-08-24 14:08:05 -05:00
Aaron Meurer
8a487f406b
Don't show "Return: None" when "returning" from a module frame
...
That is, when the last line of a module file is executed (usually from
runscript).
2017-08-24 03:58:32 -04:00
Andreas Kloeckner
edf0af7ecd
Placate flake8
2017-08-13 12:28:44 -05:00
Andreas Kloeckner
0cf532633f
Bump version ( closes #262 on github)
2017-08-12 23:22:03 -05:00
Andreas Klöckner
23f834e49e
Merge pull request #260 from asmeurer/double-width
...
Use urwid's calc_width in make_canvas
2017-07-05 09:20:52 +02:00
Aaron Meurer
a331e1f1cc
Fix tests in Python 2
2017-07-04 21:08:11 -04:00
Aaron Meurer
c9eb596016
Use urwid's calc_width in make_canvas
...
This does the right thing for double-width and zero-width Unicode characters.
Fixes #232 .
2017-07-04 20:12:28 -04:00
Andreas Klöckner
fef17b6f33
Merge pull request #259 from jsivak/feature/read_user_config
...
Tell ptpython to read/process the user's config file.
2017-06-25 13:02:57 +02:00
John Sivak
39164da936
Tell ptpython to read/process the user's config file.
2017-06-24 20:29:11 -04:00
Andreas Kloeckner
b85db7f658
Add safely_stringify_for_pudb
2017-05-27 20:25:52 -07:00
Andreas Kloeckner
d59fb6bdeb
PEP8 fixes
2017-04-19 11:46:59 -05:00
Andreas Kloeckner
b87c1cfcd5
Merge branch 'master' of gitlab.tiker.net:inducer/pudb
2017-04-19 11:43:01 -05:00
Andreas Klöckner
4c226b6a28
Fix docs github link ( closes #253 on Github)
2017-04-19 12:42:25 -04:00
Andreas Klöckner
82aedb9cca
Merge pull request #249 from asmeurer/custom-shell
...
Add support for custom shells
2017-04-17 13:47:02 -05:00
Aaron Meurer
9bf6fc0395
Note in example-shell.py that returning returns control to the debugger
2017-04-17 14:09:12 -04:00
Aaron Meurer
074d249d28
Merge branch 'master' into custom-shell
2017-04-17 13:01:32 -05:00
Andreas Klöckner
757d49e323
Merge pull request #247 from wronglink/misc_cleanups
...
Miscellaneous code cleanups
2017-04-17 11:19:35 -05:00
Michael Elovskikh
33644753b3
Put multiline contidion in one line
2017-04-16 00:02:29 +05:00
Michael Elovskikh
c47726b0b0
Added lines decoding tests
2017-04-15 23:59:41 +05:00