Eclipse PyDev: setting breakpoints in site-packages source?

Up vote 4 down vote favorite 1 share g+ share fb share tw.

I am debugging a problem in Django with Pydev. I can set breakpoint in my django project code with out a problem. However I can't set breakpoints in the Django library source code (in site-packages).

The PyDev debugger user interface in this case simply does nothing when I click to set the breakpoint and does not break at that location when I run the debugger. Am I missing some PyDev configuration? In other debuggers I have used, this behavior indicates a problem relating the debug information with the source code.

Any ideas on next steps would be a help. I also have the site-packages configured in PyDev to be in my PYTHONPATH I am using Eclipse on Max OS X if that helps. Thanks python django eclipse pydev link|improve this question edited Feb 18 '09 at 16:19 asked Feb 17 '09 at 22:25witkamp1,028618 83% accept rate.

– jimmyorr Feb 18 '09 at 15:50 In means both, double clicking does not set a breakpoint and it does not break while debugging. – witkamp Feb 18 '09 at 16:11.

To do that you just create a new PyDev project and set it's location to the Django source folder.

I did not realize that you needed to add it as a project. I thought having it in the PYTHONPATH was good enough. Good to know.

Thanks – witkamp Feb 18 '09 at 17:59.

This is timely! Eric Moritz just announced the release of an interesting new way to debug views using pdb called django-viewtools.

You might try instead the Python debugger pdb in this instance. This is a helpful link describing it: ferg.org/papers/debugging_in_python.html.

PyDev 1.5.5 seems to have an issue with Eclipse. Uninstall 1.5.5 and install the 1.5.4 version.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions