I've tried everything to get Toggle Breakpoint to be at least selectable when debugging python, but nothing seems to work.
Below are the minimal steps to reproduce:
- Download eclipse-platform-3.4-macosx-carbon.tar
- Extract/Install to a folder with no spaces
- Create a workspace in a folder with no spaces
- Download the lastest PyDev via http://pydev.sourceforge.net/updates/
- After restart, goto Preferences -> PyDev -> Interpreter - Python -> New...
- Browse to and select /Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5
- The PYTHONPATH is populated with items from the /lib/ folder and builtin libs is populated also
- Create a new PyDev project
- Leave the location as the workspace default
- Enter PyTest as the project name and select Python 2.5
- Create a new PyDev module in src/ called PyModule
- Enter: import sys\nprint sys.version
At this point no Toggle Breakpoint entries are in the Run menu.
When I go Run -> Debug As -> Python Run it runs with the following output:
pydev debugger: warning: psyco not available for debugger speedups
pydev debugger: starting
2.5.2 (r252:60911, Feb 22 2008, 07:57:53)
[GCC 4.0.1 (Apple Computer, Inc. build 5363)]
And terminates with no option to break. In the debug perspective the Toggle Breakpoint options are grayed out.
Thanks for your assistance.
Ignore my above post. Further reading of the `Getting Started` guide reveals that I must right click on the ruler, or press Ctrl+F10, then use the mouse to select Add/Remove Breakpoint. Is there a reason the standard Toggle Breakpoint cant be used? Can Add/Remove Breakpoint be assigned to a key?
I think there's some extension point that pydev should declare for that (and it doesn't). Please add that as a feature request.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.