Turn on FullFrames to use inspect.currentframe()