Thanks that was the same answer I was looking for ...

-----Original Message-----
From: Fabio Zadrozny [mailto:fabi...@gmail.com] 
Sent: Friday, August 20, 2010 4:17 AM
To: pydev-code@lists.sourceforge.net
Subject: Re: [Pydev-code] Pydev for remote debugging

On Wed, Aug 18, 2010 at 6:18 AM,  <sheetal.kulka...@sungard.com> 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
pydev-code@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-code



------------------------------------------------------------------------------
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
pydev-code@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-code

Reply via email to