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

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -