How do I use eclipse with python (pydev)
This page explains how to use eclipse with C++: http://www.ros.org/wiki/IDEs#Eclipse. This page explains how to set up eclipse with pydev to edit python files: https://wiki.nps.edu/display/~thchung/ROS+--+Using+the+Eclipse+IDE
But nothing seems to tell me how to actually run python ros packages under eclipse, set breakpoints, etc. When I try to run it fails with an exception when trying to load the manifest:
Traceback (most recent call last):
File "/home/bouchier/ros_workspace/randomWalk/src/randomWalker.py", line 6, in <module>
import roslib; roslib.load_manifest('randomWalk')
File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/launcher.py", line 62, in load_manifest
sys.path = _generate_python_path(package_name, _rospack) + sys.path
File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/launcher.py", line 93, in _generate_python_path
m = rospack.get_manifest(pkg)
File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 118, in get_manifest
return self._load_manifest(name)
File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 157, in _load_manifest
retval = self._manifests[name] = parse_manifest_file(self.get_path(name), self._manifest_name)
File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 149, in get_path
raise ResourceNotFound(name, ros_paths=self._ros_paths)
rospkg.common.ResourceNotFound: randomWalk
I've single-stepped through rosserial_python (which is what I really want to run in a debugger), and it gets the same error. I've tried running from different directories, & it seems to be unable to find manifest.xml when running in eclipse. (It runs fine from rosrun).
How do python developers do debugging? Is there an easy fix to use eclipse? Any other toolsets I should be using?
Thanks
Paul