Re: [Pydev-code] Pydev for remote debugging
Brought to you by:
fabioz
From: <She...@su...> - 2010-08-20 05:05:20
|
Thanks that was the same answer I was looking for ... -----Original Message----- From: Fabio Zadrozny [mailto:fa...@gm...] Sent: Friday, August 20, 2010 4:17 AM To: pyd...@li... Subject: Re: [Pydev-code] Pydev for remote debugging 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 ------------------------------------------------------------------------ ------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ pydev-code mailing list pyd...@li... https://lists.sourceforge.net/lists/listinfo/pydev-code |