gotcha / ipdb

Integration of IPython pdb
BSD 3-Clause "New" or "Revised" License
1.85k stars 146 forks source link

under ipdb only public attributes of a class can be read? #145

Open jamartinh opened 6 years ago

jamartinh commented 6 years ago

Hi, I have a class with __attributes When in ipdb console, those attributes doesn't show in autcomplete, indeed when you try to read one of them an Attribute error is raised.

gotcha commented 6 years ago

Did you try in IPython ?

ipdb is a light wrapper around IPython. If it does not work in IPython, it won't here either. It it works in IPython then we have a bug.

jamartinh commented 6 years ago

You are right, it does not even work under pdb.

It seems a pdb issue.

Thanks, Jose

El 22 feb. 2018 10:35, "Godefroid Chapelle" notifications@github.com escribió:

Did you try in IPython ?

ipdb is a light wrapper around IPython. If it does not work in IPython, it won't here either. It it works in IPython then we have a bug.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gotcha/ipdb/issues/145#issuecomment-367621611, or mute the thread https://github.com/notifications/unsubscribe-auth/ADbWsyBc6b03COC6833322VtEdQCXEcBks5tXTTzgaJpZM4SNhnM .