Base on https://github.com/systempuntoout/stackprinter