forked from qt-creator/qt-creator
Debugger: Move command flags to debugger command
Also, remove the need to mark GDB Python commands, detect the need to use MI on the presence of non-Pythonic letters in the command (space and hyphen). Plan is to reuse even more almost shared code between engines. Change-Id: I4e00debb07f2482637930675a28f464666b59553 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -196,6 +196,21 @@ public:
|
||||
const DebuggerRunParameters &runParameters() const;
|
||||
DebuggerRunParameters &runParameters();
|
||||
|
||||
enum {
|
||||
// Remove need to qualify each use.
|
||||
NeedsTemporaryStop = DebuggerCommand::NeedsTemporaryStop,
|
||||
NeedsFullStop = DebuggerCommand::NeedsFullStop,
|
||||
Discardable = DebuggerCommand::Discardable,
|
||||
ConsoleCommand = DebuggerCommand::ConsoleCommand,
|
||||
NeedsFlush = DebuggerCommand::NeedsFlush,
|
||||
ExitRequest = DebuggerCommand::ExitRequest,
|
||||
RunRequest = DebuggerCommand::RunRequest,
|
||||
LosesChild = DebuggerCommand::LosesChild,
|
||||
RebuildBreakpointModel = DebuggerCommand::RebuildBreakpointModel,
|
||||
InUpdateLocals = DebuggerCommand::InUpdateLocals,
|
||||
Silent = DebuggerCommand::Silent
|
||||
};
|
||||
|
||||
virtual bool canHandleToolTip(const DebuggerToolTipContext &) const;
|
||||
virtual void expandItem(const QString &iname); // Called when item in tree gets expanded.
|
||||
virtual void updateItem(const QString &iname); // Called for fresh watch items.
|
||||
|
||||
Reference in New Issue
Block a user