1

All to often, I am trying to debug something, and I forget to type

debug

and jump right to typing a debug command, e.g.

u

and then I get

NameError: name 'u' is not defined

And I can no longer debug the original error, only this NameError.

So I need to run my scipt again to generate the error I actually want to debug.

Is there any way to go back to a previous error? Maybe some hacky way to save it somewhere?

capybaralet
  • 1,757
  • 3
  • 21
  • 31

0 Answers0