public function uninstall()
    {
        if (true === $this->isInstalled()) {
            try {
                $this
                    ->installed(false)
                    ->uninstallWhoops()
                    ->whoops(null)
                    ->restoreState()
                    ->getLogger()
                        ->debug('Debugging tools uninstalled.');

            } catch (Doozr_Debugging_Exception $exception) {
                throw new Doozr_Debugging_Exception(
                    sprintf('Debugging could not be uninstalled! Error: %s', $exception->getMessage())
                );
            }

        } else {
            throw new Doozr_Debugging_Exception(
                'Debugging could not be uninstalled. It\'s not installed!'
            );
        }
    }