[Pydev-code] Re: Problem with sys.path and debugger
Brought to you by:
fabioz
From: Ferry D. <da...@ed...> - 2005-03-01 12:08:30
|
Hello Fabio, On Tuesday 01 March 2005 12:51, Fabio Zadrozny wrote: > This is a known problem of the debugger.... > I would suggest you put it in the pythonpath for now... Put what where? :) I have set my (eclipse) PYTHONPATH to "reset pythonpath" (seems to be o.k.) plus full path to my program (add item). Is this what you meant? The debugger still has the wrong/missing path and imports still fail (after restarting eclipse). Cheerio, Dave > >Runnig a script from eclipse, my sys.path looks like > >['/my/script/is/here/script.py', ...] > >but running at with the debugger it looks like > >['/usr/local/eclipse/plugins/org.python.pydev.debug_0.9.0/pysrc', ...] > >and no local path at all. Of course imports of local modules fail in > > pydevd, line 713 on execfile(). :( |