python library for better traceback on errors in CLI
June 4, 2019 1:02 PM   Subscribe

I recently tried a newish python library that gave you a better traceback when running a script from the CLI. It showed you a full stack trace, the value of variables, etc., in the CLI itself. I forgot the name, have tried googling for it, no luck, so I turn to you.
posted by signal to Computers & Internet (5 answers total) 4 users marked this as a favorite
Was it cgitb?
posted by destructive cactus at 2:00 PM on June 4, 2019

It was a little like that, but prettier, using colors to mark syntax, and didn't need to make any changes to your code. Also showed variable values in context.
posted by signal at 2:27 PM on June 4, 2019

There's like a million of 'em on github. The first result (stackprinter) sounds like what you are looking for.
posted by Poldo at 2:48 PM on June 4, 2019

Our programmers love better exceptions.
posted by advicepig at 6:26 PM on June 4, 2019 [1 favorite]

That's it advicepig !
posted by signal at 8:32 PM on June 4, 2019 [1 favorite]

« Older Get out of San Fran with Kids and Grandparents   |   I'm looking for necklaces. Newer »

You are not logged in, either login or create an account to post comments