python - Is there a way in PyCharm to check an object's methods while debugging? -


while debugging in pycharm, it's easy check object's fields while execution suspended. there way check object's methods ide, or feature has not been implemented jetbrains? builtin hasattr function checks both, 1 think easy feature implement in ide.

i add dir(variablename) watch window achieve this. if it's not visible, activate alt+5 (or view/tool windows/debug).

pycharms watches

another option use "evaluate expression" (alt+f8) , same

pycharms evaluate expression

using community edition 4.0.4 on windows 7 sp1 x64 if should matter.


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Magento/PHP - Get phones on all members in a customer group -

session - Logging Out Using PHP -