Debugger stuck in NumPy call


Mac OS 10.10.5, Python 2.7.10, NumPy 1.8.0rc1

I can debug to this point, but then seem stuck in endless loop once I step over to this line:

  z_grid = np.apply_along_axis(phi, 1, x_grid)

And upon forcing a quit I get this on the console:

  /usr/bin/python /Applications/ --multiproc --qt-support --client --port 52315 --file        /PycharmProjects/
 pydev debugger: process 81088 is connecting

 Connected to pydev debugger (build 162.1967.10)
 Backend MacOSX is interactive backend. Turning interactive mode on.
 Traceback (most recent call last):
 File "_pydevd_bundle/pydevd_cython.pyx", line 472, in _pydevd_bundle.pydevd_cython.PyDBFrame.manage_return_values.get_func_name  (_pydevd_bundle/pydevd_cython.c:8198)
 cls_name = get_clsname_for_code(code_obj, frame)
 File "/Applications/", line 133, in get_clsname_for_code
 funcs = [f for f in gc.get_referrers(code)

 Process finished with exit code 137 (interrupted by signal 9: SIGKILL)

 Any advice appreciated.

Comment actions Permalink
Official comment

Hi Brett Tofel! Please, try to turn off "Show return values" option under the gear on the debug tool window. Does it help?

Related issue:

Comment actions Permalink

Oh and PyCharm Pro 2016.2

Comment actions Permalink

I tried removing the Cython shared library that provides faster debugging. Same problem. It's possible it's just super slow debugging this part with the NumPy call. I see Python roaring away on more than half the processors.


Please sign in to leave a comment.