If I include a module with:
"from TestModule import *"
a subsequent debug run does not start debugging (i.e. the debugging perspective is not startet and breakpoints are not handled - but the code is executed correctly)
If I use (with a proper execution of the function foobar) either
"from TestModule import foobar"
Debugging works fine
(Eclipse 3.2.0, PyDev 1.2.2) - have I misunderstood something, or might this be a bug ?
Where do you put the breakpoint when that happens?
Are you using it with python or jython?
I'm using Jython 2.1. I have tried to set the breakpoints all along a longer program - but the "error" appears in even a simple program such as this:
in file TestModule.py:
in file HelloWorld.py
from TestModule import *
foobar() <-- A BREAK POINT HERE
Thanks for the quick response :)
I'm having the same problem with an equally simple program since I can never get breakpoints to work when importing a file that isn't in the python library. I'm using the same version of pydev, eclipse, and jython.
Seems the import * is what breaks it.
Can you report that as a bug?
I'll try to check it for the next release.