Menu

#998 Debugger doesn't stop at breakpoints

open
debugger (210)
5
2009-10-29
2009-10-29
Nate Reid
No

If I have a project with the following structure:
proj/app.py
proj/src/package/__init__.py
proj/src/package/one.py
proj/src/package/two.py
proj/src/package/three.py

Breakpoints in 'app.py' work fine. My PYTHONPATH has 'proj/src' in it, so when I do an 'import package' it knows where to find it.

in one.py
if I have an import like
import package.two as two

Then breakpoints that I set in 'one.py' will work, however:
But, if I have the import as
import two

then the breakpoints will not be hit, or will be hit inconsistently.
I've force restored the itnernal info on the PYTONPATH on the project several times and restarted Eclipse as well.

This is with PyDev 1.5.0.1251989166

Breakpoints will not always work.

I haven't tested this theory exactly as stated, but for a project that I'm working on that very similarly

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.