My problem is:
I have renamed a project in Eclipse.
When I try to debug my program with PyDev I have lost
the file references (if I try to click on the stack trace or make a step in another file
the file open dialog is coming with the old, wrong project
name in the path name).
I have made
- an Eclipse Restart with -clean and
- a complete rebuild of the project
- moves in the .metadata directory for com.python.pydev directories
But nothing helps.
The file references are corrected if I make a new save on a file,
but there must be a history anywhere. I'cant save every file to
correct the information.
What can I do ? Thanks in advance,
Derk
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using Eclipse 3.3 on WinXP with PyDev 1.3.10
My problem is:
I have renamed a project in Eclipse.
When I try to debug my program with PyDev I have lost
the file references (if I try to click on the stack trace or make a step in another file
the file open dialog is coming with the old, wrong project
name in the path name).
I have made
- an Eclipse Restart with -clean and
- a complete rebuild of the project
- moves in the .metadata directory for com.python.pydev directories
But nothing helps.
The file references are corrected if I make a new save on a file,
but there must be a history anywhere. I'cant save every file to
correct the information.
What can I do ? Thanks in advance,
Derk
Have you tried erasing the .pyc files? (I may be wrong, but I think the problem is that python caches that info when it creates the .pyc)
To clean those you can right-click a project/folder > pydev > remove *.pyc
Cheers,
Fabio
Thanks, that's it.
By the way:
It would be nice, if the *.pyo could be removed too by right-click a project/folder.
I also think it's a good idea (please report that as a feature request).
Cheers,
Fabio