Changeset View
Changeset View
Standalone View
Standalone View
debuggers/common/midebugger.h
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | |||||
45 | { | 45 | { | ||
46 | Q_OBJECT | 46 | Q_OBJECT | ||
47 | public: | 47 | public: | ||
48 | explicit MIDebugger(QObject* parent = 0); | 48 | explicit MIDebugger(QObject* parent = 0); | ||
49 | ~MIDebugger() override; | 49 | ~MIDebugger() override; | ||
50 | 50 | | |||
51 | /** Starts the debugger. This should be done after connecting to all | 51 | /** Starts the debugger. This should be done after connecting to all | ||
52 | signals the client is interested in. */ | 52 | signals the client is interested in. */ | ||
53 | virtual void start(KConfigGroup& config, const QStringList& extraArguments = {}) = 0; | 53 | virtual bool start(KConfigGroup& config, const QStringList& extraArguments = {}) = 0; | ||
54 | 54 | | |||
55 | /** Executes a command. This method may be called at | 55 | /** Executes a command. This method may be called at | ||
56 | most once each time 'ready' is emitted. When the | 56 | most once each time 'ready' is emitted. When the | ||
57 | debugger instance is just constructed, one should wait | 57 | debugger instance is just constructed, one should wait | ||
58 | for 'ready' as well. | 58 | for 'ready' as well. | ||
59 | 59 | | |||
60 | The ownership of 'command' is transferred to the debugger. */ | 60 | The ownership of 'command' is transferred to the debugger. */ | ||
61 | void execute(MI::MICommand* command); | 61 | void execute(MI::MICommand* command); | ||
▲ Show 20 Lines • Show All 88 Lines • Show Last 20 Lines |