I've been experimenting problems lately to debug a collaborative project I am working on. The code is written in Python although it include some XML and .xls to import data. When I put a breakpoint and run the debugger I get the following error:
Traceback (most recent call last):
File "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 5.0.4\helpers\pydev\pydevd_frame.py", line 424, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 5.0.4\helpers\pydev\pydevd_frame.py", line 56, in doWaitSuspend
File "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 5.0.4\helpers\pydev\pydevd.py", line 1448, in doWaitSuspend
File "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 5.0.4\helpers\pydev\pydev_ipython\matplotlibtools.py", line 136, in activate_pylab
pylab.show._needmain = False
AttributeError: 'module' object has no attribute 'show'
No matter where I put the breakpoint the error always raises. Sometimes the execution is interrupted and some the execution continues ignoring any following breakpoint.
I tried to use a breakpoint in a hello world code, no error was raised.
It seems that other users have had the same issue in the last 12 months but I could not find any solution online.
See case1, case2