IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
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().
Passing a dict subclass to eval is not supported in Python 2. This was causing
weird issues where the C-x would break the UI (I am not clear exactly how it
caused those issues).
The point of SetPropagatingDict is to combine globals and locals into a single
dictionary for things like code.InteractiveConsole and rlcompleter.Completer,
which take a single dictionary, but to allow changes to propagate, so that
assignments in the shell can modify global names. However, this is completely
unnecessary for the built in shell, as we call eval() ourselves, so we can
just pass the exact globals and locals dicts separately.
This fixes#166.
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.
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.
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`.