Using pdb.set_trace(), I am trying to debug a series of expression in which j is used as an indexing variable. statements such as j = 0 are not allowed since j is a reserved symbol for pdb. How can I get around this?
!j = 0
From the docs:
[!]statement
Execute the (one-line) statement in the context of the current stack frame. The exclamation point can be omitted unless the first word of the statement resembles a debugger command.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With