[ckan-dev] Problem with debug in PyDev

Dominik Moritz dominik.moritz at okfn.org
Wed May 8 16:01:19 UTC 2013


Hi,

I know that it's that what you have asked for but when I want to debug some
code (I don't use an IDE, just a text editor), I add this line and run
CKAN: `import pdb; pdb.set_trace()`.

Having said this, is there anyone out there who uses PyDev and had a
similar problem?

Cheers,
Dominik


On 8 May 2013 16:54, 天龙出云 <dragoniszhang at gmail.com> wrote:

> Hello everyone
>
> Recently I moved from PyCharm to Eclipse with PyDev. Now I have configured
> the environment and can make it work. But I found I cannot debug with
> PyDev, the breakpoint is useless.
> I tested that with new_resource request and I put the breakpoint on the
> first line of the new_resource function in controllers/package. I am quite
> sure that it should step into that point because I debugged it with PyCharm
> before.
> Does anybody encountered this situation before? And could you please tell
> me your solution?
> Thank you very much
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130508/00954109/attachment-0001.html>


More information about the ckan-dev mailing list