python - print values in pdb -


this first time use pdb debugger in python. please pardon me if dumb question.

when trace function, inside function print values of variable names underscore in beginning, eg. p __seqlen. keeps showing attributeerror: attributeerror("converter instance has no attribute '__seqlen'",) tried use p self.__seqlen. not working well. may ask how can print values? in advanced.

p locals() p globals() 

could help.


Comments

Popular posts from this blog

iphone - Request for member 'uitextfield' in something not a structure or union? -

haskell - Using filter on an item in a list? -

Cursor error with postgresql, pgpool and php -