forked from qt-creator/qt-creator
debugger: put some color into the outputpane
This commit is contained in:
@@ -53,7 +53,7 @@ class IOptionsPage;
|
||||
} // namespace Core
|
||||
|
||||
namespace TextEditor {
|
||||
class ITextEditor;
|
||||
class ITextEditor;
|
||||
}
|
||||
|
||||
namespace Debugger {
|
||||
@@ -127,6 +127,16 @@ enum DebuggerStartMode
|
||||
StartRemote // Start and attach to a remote process
|
||||
};
|
||||
|
||||
enum LogChannel
|
||||
{
|
||||
LogInput, // Used for user input
|
||||
LogOutput,
|
||||
LogError,
|
||||
LogStatus, // Used for status changed messages
|
||||
LogDebug,
|
||||
LogMisc
|
||||
};
|
||||
|
||||
struct DebuggerStartParameters
|
||||
{
|
||||
DebuggerStartParameters();
|
||||
@@ -213,8 +223,8 @@ private:
|
||||
virtual SourceFilesWindow *sourceFileWindow() = 0;
|
||||
|
||||
virtual void showApplicationOutput(const QString &data) = 0;
|
||||
virtual void showDebuggerOutput(const QString &prefix, const QString &msg) = 0;
|
||||
virtual void showDebuggerInput(const QString &prefix, const QString &msg) = 0;
|
||||
virtual void showDebuggerOutput(int channel, const QString &msg) = 0;
|
||||
virtual void showDebuggerInput(int channel, const QString &msg) = 0;
|
||||
|
||||
virtual void reloadDisassembler() = 0;
|
||||
virtual void reloadModules() = 0;
|
||||
@@ -309,8 +319,8 @@ public slots:
|
||||
void showStatusMessage(const QString &msg, int timeout = -1); // -1 forever
|
||||
|
||||
private slots:
|
||||
void showDebuggerOutput(const QString &prefix, const QString &msg);
|
||||
void showDebuggerInput(const QString &prefix, const QString &msg);
|
||||
void showDebuggerOutput(int channel, const QString &msg);
|
||||
void showDebuggerInput(int channel, const QString &msg);
|
||||
void showApplicationOutput(const QString &data);
|
||||
|
||||
void reloadDisassembler();
|
||||
|
||||
Reference in New Issue
Block a user