How do I call the Python's list while debugging?
Just print
it:
(Pdb) print list(values)
don't foget to add brackets for python3 version
(Pdb) print(list(values))
Use the exclamation mark ! to escape debugger commands:
(Pdb) values = set([1, 2, 3, 4, 5])
(Pdb) list(values)
*** Error in argument: '(values)'
(Pdb) !list(values)
[1, 2, 3, 4, 5]