Add patchGlobal method, use coffee runtime prepareStacktrace if available.