##// END OF EJS Templates
Backport PR #2554: Avoid stopping in ipdb until we reach the main script....
Backport PR #2554: Avoid stopping in ipdb until we reach the main script. For example: ``` In [1]: %run -d -b 52 setup.py Breakpoint 1 at /tmp/ipython/setup.py:52 NOTE: Enter 'c' at the ipdb> prompt to start your script. > /tmp/ipython/setup.py(7)<module>() 6 Under Windows, the command sdist is not supported, since IPython ----> 7 requires utilities which are not available under Windows.""" 8 ``` compared to the previous behavior: ``` In [1]: %run -d -b 52 setup.py Breakpoint 1 at /tmp/ipython/setup.py:52 NOTE: Enter 'c' at the ipdb> prompt to start your script. > <string>(1)<module>() ``` Closes #1679 ("List command desn't work in ipdb debugger the first time")

File last commit:

r3692:7403bafc
r9835:45a6e8d3
Show More
__init__.py
9 lines | 259 B | text/x-python | PythonLexer
try:
from numpy.testing.decorators import *
from numpy.testing.noseclasses import KnownFailure
except ImportError:
from _decorators import *
try:
from _numpy_testing_noseclasses import KnownFailure
except ImportError:
pass