improve debug stack traces by disabling optimization