forked from qt-creator/qt-creator
Debugger: Paddle back on multiple inheritance for settings
This is fairly close to the new "standard" pattern for an individual page but still allows flat access using the same 'settings().' stanza. Change-Id: I1edbbd64a857a3d3936fb2c21fdc7e3c8ae7a44c Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -3,12 +3,11 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "gdb/gdbsettings.h"
|
||||
#include <utils/aspects.h>
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QHash>
|
||||
#include <QMap>
|
||||
#include <QVector>
|
||||
|
||||
namespace Debugger::Internal {
|
||||
|
||||
@@ -48,7 +47,7 @@ class GeneralSettings
|
||||
~GeneralSettings();
|
||||
};
|
||||
|
||||
class DebuggerSettings : public GdbSettings
|
||||
class DebuggerSettings
|
||||
{
|
||||
public:
|
||||
explicit DebuggerSettings();
|
||||
@@ -56,6 +55,29 @@ public:
|
||||
|
||||
static QString dump();
|
||||
|
||||
Utils::IntegerAspect &gdbWatchdogTimeout;
|
||||
Utils::BoolAspect &skipKnownFrames;
|
||||
Utils::BoolAspect &useMessageBoxForSignals;
|
||||
Utils::BoolAspect &adjustBreakpointLocations;
|
||||
Utils::BoolAspect &useDynamicType;
|
||||
Utils::BoolAspect &loadGdbInit;
|
||||
Utils::BoolAspect &loadGdbDumpers;
|
||||
Utils::BoolAspect &intelFlavor;
|
||||
Utils::BoolAspect &usePseudoTracepoints;
|
||||
Utils::BoolAspect &useIndexCache;
|
||||
Utils::StringAspect &gdbStartupCommands;
|
||||
Utils::StringAspect &gdbPostAttachCommands;
|
||||
|
||||
Utils::BoolAspect &targetAsync;
|
||||
Utils::BoolAspect &autoEnrichParameters;
|
||||
Utils::BoolAspect &breakOnThrow;
|
||||
Utils::BoolAspect &breakOnCatch;
|
||||
Utils::BoolAspect &breakOnWarning;
|
||||
Utils::BoolAspect &breakOnFatal;
|
||||
Utils::BoolAspect &breakOnAbort;
|
||||
Utils::BoolAspect &enableReverseDebugging;
|
||||
Utils::BoolAspect &multiInferior;
|
||||
|
||||
// Page 1: General
|
||||
Utils::BoolAspect useAlternatingRowColors;
|
||||
Utils::BoolAspect useAnnotationsInMainEditor;
|
||||
|
||||
Reference in New Issue
Block a user