Aaron Meurer
7c1237353c
Update the README
2017-04-04 18:29:59 -04:00
Aaron Meurer
82d5bac157
Add start as an alias for set_trace()
2017-04-04 18:10:50 -04:00
Aaron Meurer
f94ec12652
Rename activate_and_continue to set_trace(paused=False)
...
paused=True is the default. This also automatically causes the set_trace to
not be treated as a breakpoint, since it doesn't break there.
Add a docstring to set_trace() and updated the docstring of
Debugger.set_trace().
2017-04-04 18:07:52 -04:00
Aaron Meurer
ca64b8f827
Add activate_and_continue() to the README
2017-04-03 00:18:49 -04:00
Aaron Meurer
482ce594de
Add pu.cont shortcut to pudb.activate_and_continue
2017-04-03 00:00:05 -04:00
Aaron Meurer
48e430a512
Rename pudb.set_continue to pudb.activate_and_continue
2017-04-02 23:59:53 -04:00
Aaron Meurer
596b4828e3
Add set_continue() function to __init__.py
...
This lets you start the debugger and immediately continue, i.e., it only stops
on a previously defined breakpoint.
Fixes #234 .
2017-04-02 23:09:25 -04:00
Andreas Kloeckner
b38148e6b0
Fix README typo (Thx Antony Lee)
2017-02-20 11:51:38 -06:00
Andreas Kloeckner
76d5d024b5
Add comment about pytest usage to README
2017-02-20 10:32:46 -06:00
Andreas Klöckner
b8f670adef
Merge pull request #224 from anntzer/compatible-api
...
Make Debugger.interaction match the signature of Pdb.interaction.
2017-02-20 10:26:08 -06:00
Antony Lee
f23744007f
Make Debugger.interaction match the signature of Pdb.interaction.
...
This allows pudb to be used as debugger for pytest>=3.0, e.g.
```
$ cat test_foo.py
def test_1():
assert False
$ pytest --pdbcls pudb.debugger:Debugger --pdb --capture=no
```
(starts pudb at the failed assertion site).
Note the need to pass `--capture=no` (or its synonym `-s`) as otherwise
pytest tries to manage the standard streams itself.
Backwards compatibility is preserved.
2017-02-19 23:41:09 -08:00
Andreas Kloeckner
9656c01cbf
Bump version
2017-02-18 14:39:56 -06:00
Andreas Kloeckner
6c8bf37a12
PEP8 fixes
2017-02-18 14:34:14 -06:00
Andreas Kloeckner
9e35f1b268
Clear history before reading, to avoid exponential history explosion on multiple runs
2017-02-17 12:33:59 -06:00
Andreas Kloeckner
bc9315eaf5
Bump version
2017-02-03 17:59:37 -06:00
Andreas Klöckner
42b5e79cb9
Merge pull request #220 from pavelpatrin/master
...
Fix ptpython embed
2017-01-31 10:35:10 -06:00
Pavel Patrin
096f665f86
Fix ptpython embed
2017-01-31 19:08:41 +03:00
Andreas Klöckner
9a339be4ba
Merge pull request #209 from timgabets/master
...
Setting term_size to the current size if None
2017-01-14 18:55:12 -06:00
Tim Gabets
79bd13375f
Using IOCTL-based solution to get the terminal size
2017-01-13 13:52:46 +03:00
Tim Gabets
b8e83a7cb0
Checking Python version and using shutil.get_terminal_size() for PY3
2017-01-13 12:24:41 +03:00
Andreas Klöckner
d51cef41a4
Merge pull request #214 from Wilfred/display_none_values
...
Display None values as 'None' in the variable viewer
2017-01-09 20:08:11 +08:00
Wilfred Hughes
6364636eee
Display None values as 'None' in the variable viewer
...
Previously they were 'NoneType', but this is a safe value to display.
2017-01-09 11:28:07 +00:00
Andreas Klöckner
884b127b6c
Merge pull request #213 from gpanther/improve-signal-handling-with-threads
...
Check that we're on the main thread before installing the signal handler
2017-01-06 02:03:23 +08:00
Grey Panther
d6748f1250
Check that we're on the main thread before installing the signal handler
...
Makes the error message a little bit more clear and also surpresses setting the signal handler when not on the main thread and not explicitly asked to install one.
Closes #212 .
2017-01-05 18:14:42 +02:00
Andreas Klöckner
0a8b240fe4
Merge pull request #210 from jeffwidman/patch-1
...
Drop support for ancient iPython versions
2016-12-24 12:48:55 +01:00
Jeff Widman
78637b2f7a
Drop support for ancient iPython versions
...
We are now on iPython 5, version 1 is over 3 years old, so no sense supporting old versions at this point. If someone needs to support something that old, they can use an old version of `pudb`.
2016-12-24 01:14:14 -08:00
Tim Gabets
9885e9145b
Setting term_size to the current size if None
2016-12-15 17:20:37 +03:00
Andreas Klöckner
37639edd61
Merge pull request #208 from epmoyer/monokai
...
Monokai
2016-12-14 10:24:57 -06:00
Eric Moyer
9749243e3c
Fix typos
2016-12-14 08:03:28 -08:00
Eric Moyer
2e94fabaa9
add style inheritance
2016-12-13 17:08:49 -08:00
Eric Moyer
4d939aa8d5
fix Python 2.6 compatibility
2016-12-12 00:23:59 -08:00
Eric Moyer
e572b9df28
fix dunder palette for solarized
2016-12-11 22:10:07 -08:00
Eric Moyer
15d0a4f881
Cleanup. Add comments
2016-12-11 21:19:24 -08:00
Eric Moyer
ac81e7fb8c
update all styles to use new palette options
2016-12-11 20:00:43 -08:00
Eric Moyer
edcbd55761
function argument color parsing
2016-12-11 16:09:38 -08:00
Eric Moyer
91a68844a4
create monokai and monokai-256
2016-12-11 09:08:37 -08:00
Andreas Kloeckner
214b8332ac
Switch to using bpython.__version__ for presence detection ( #204 )
2016-10-14 19:50:21 -05:00
Andreas Klöckner
93e57d86c1
Merge pull request #200 from mdamien/patch-1
...
redraw the whole screen when switching themes
2016-08-31 21:48:40 -05:00
Damien
e77384dcf3
redraw the whole screen when switching themes
2016-09-01 01:44:50 +02:00
Andreas Klöckner
b2898bd525
Merge pull request #199 from asmeurer/reload
...
Fix module reloading
2016-08-30 13:45:35 -05:00
Aaron Meurer
e77987461b
Fix module reloading
...
The Python 2/3 check was reversed from what it was supposed to be.
2016-08-30 13:23:46 -04:00
Andreas Klöckner
c18c388037
Merge pull request #195 from rory-geoghegan-ecometrica/master
...
Force absolute imports, division and print function across all modules.
2016-08-04 10:28:20 -05:00
Rory Geoghegan
5038b12f02
Force absolute imports, division and print function across all modules.
...
With the absolute imports, this fixes an issue with pudb/shell.py where it
was confusing importing the IPython package with the pudb.ipython module,
as detailed in the [github case
here](https://github.com/inducer/pudb/issues/194 ).
2016-08-03 17:06:24 -04:00
Andreas Klöckner
f46002a76f
Merge pull request #192 from mlubimow/master---fix_remote_non_ascii_issue
...
Fixed issue with debugging apps with non-ascii data
2016-07-06 10:55:08 +01:00
Marcin Lubimow
7ccbd539e7
Removed fix if python3
2016-07-06 10:33:32 +01:00
Marcin Lubimow
61a728ba67
Fixed issue with debugging apps with non-ascii data
2016-07-05 20:49:53 +01:00
Andreas Kloeckner
255f318fbb
Update PyPI info
2016-06-27 10:29:29 -05:00
Andreas Kloeckner
6a6242bde7
Make classic shell history saving work
2016-06-24 17:34:57 -05:00
Andreas Kloeckner
abd2bfc0bb
Keep bpython from processing arguments passed to the debuggee ( Fixes #104 )
2016-06-24 17:23:25 -05:00
Andreas Kloeckner
05b5b4bf54
Only import IPython upon use
2016-06-24 17:21:08 -05:00