Show HN: Python decorator to log local variables with each line of code run
1–10 of 14 posts
Re: Show HN: Python decorator to log local variables with each line of code run
#2Re: Show HN: Python decorator to log local variables with each line of code run
#3WIP: suggestions most welcome.
Re: Show HN: Python decorator to log local variables with each line of code run
#4Re: Show HN: Python decorator to log local variables with each line of code run
#5Re: Show HN: Python decorator to log local variables with each line of code run
#6Earlier quoted context omitted.
How does it compare to snoop: https://news.ycombinator.com/item?id=20457784
Ahh, I never heard about it, but it looks promising. I will reach out to the author. Thanks for bringing it to my attention.
Re: Show HN: Python decorator to log local variables with each line of code run
#7(To be fair, in my experience, lots of python users have no idea what a debugger is...)
Re: Show HN: Python decorator to log local variables with each line of code run
#8What advantage does this have over a debugger? (To be fair, in my experience, lots of python users have no idea what a debugger is...)
Re: Show HN: Python decorator to log local variables with each line of code run
#9What advantage does this have over a debugger? (To be fair, in my experience, lots of python users have no idea what a debugger is...)
Re: Show HN: Python decorator to log local variables with each line of code run
#10What advantage does this have over a debugger? (To be fair, in my experience, lots of python users have no idea what a debugger is...)
same thoughts. i kind of get the utility of logging the whole application state without breakpoints or stepping through stuff (but maybe debuggers can also do this?), but my first thought was that this is simpler for folks not used to debuggers