469,906 Members | 2,196 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,906 developers. It's quick & easy.

How do I find out from inside pdb which namespace contains an object?

I am inside a Pdb-like Plone debugging tool and I get the following
error at the prompt. I was wondering how to find out from inside the
debugger which namespace the collective.dancing.channel object is
located in. :

collective.dancing.channel.tool_added(DelegateNich ols.portal_newsletters,
None)
collective.dancing.channel.tool_added(DelegateNich ols.portal_newsletters,
None)
002
Traceback (most recent call last):
File "<input>", line 1, in ?
NameError: name 'collective' is not defined
Aug 3 '08 #1
1 880
Never mind. I had to run "import collective.dancing" first.
Aug 3 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by Steven T. Hatton | last post: by
2 posts views Thread by Siberwulf | last post: by
2 posts views Thread by Paulo Matos | last post: by
14 posts views Thread by raylopez99 | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.