Re: [Pydev-code] Pydev for remote debugging
Brought to you by:
fabioz
From: Fabio Z. <fa...@gm...> - 2010-08-19 22:47:26
|
On Wed, Aug 18, 2010 at 6:18 AM, <She...@su...> wrote: > Hi, > > I am using pydev for remote debugging. > I have c++ code which has embedded python and other I have pure python > code. > I want to debug scripts executed through embedded python. > Also I don't want to place the pydev files again at some location other > than eclipse home. > Is it ok if I don't declare any definations inside "pydev_utils" files > for source and target? > > Is there any better way of doing this? The only thing you have to do is adding the directory containing the pydevd*.py files to your sys.path. Something like: import sys sys.path.append(r'D:\bin\eclipse_36_final\plugins\org.python.pydev.debug_1.6.1.2010072814\pysrc') import pydevd pydevd.settrace() You only need to edit pydevd_file_utils.py if you're running the code in one machine and debugging in another one (and only if they don't have the same filesystem structure). Cheers, Fabio |