python - What are good options for debugging urwid applications? -


my current makeshift approach logging textfile, isn't interactive. i've tried using pdb, doesn't seem along urwid, pdb doesn't take input once hits breakpoint.

a couple of practices down line... debugging urwid strange , not possible in classical sense, of time after rendering canvas can't check things anymore.

what helped me:

  • routing errors file. if exceptions , want understand what, , how, nice implementation given here: https://stackoverflow.com/a/12877023/5058041
  • really try understand modules , how want achieve things. reading documentation n+1-time idea.
  • look @ implementation of widgets use. have more information.

i know doesn't count debugging, helped me lot in finding errors or strange behavior.


Comments