diff --git a/src/plugins/debugger/debuggercore.h b/src/plugins/debugger/debuggercore.h
index 484aa2ee0aa8d26c602adc60a3e770089a27772d..63da7f1294bf7a7704fdce195dc20eb7dcbb3b79 100644
--- a/src/plugins/debugger/debuggercore.h
+++ b/src/plugins/debugger/debuggercore.h
@@ -67,8 +67,6 @@ class DebuggerCore : public QObject
 public:
     DebuggerCore() {}
 
-    static DebuggerCore *instance();
-
     virtual QVariant sessionValue(const QString &name) = 0;
     virtual void setSessionValue(const QString &name, const QVariant &value) = 0;
     virtual QVariant configValue(const QString &name) const = 0;
@@ -111,6 +109,7 @@ public:
     virtual QWidget *mainWindow() const = 0;
 };
 
+// This is the only way to access the global object.
 DebuggerCore *debuggerCore();
 
 } // namespace Internal