forked from qt-creator/qt-creator
Get attaching to a crashed Windows process right (CDB).
Handle the 2nd parameter correctly as a event id to be used for a handshake. Introduce a special mode when attaching to crashed processes. Code cleanup, pass StartParameters along to startDebugger.
This commit is contained in:
@@ -61,7 +61,7 @@ public:
|
||||
|
||||
virtual void shutdown();
|
||||
virtual void setToolTipExpression(const QPoint &mousePos, TextEditor::ITextEditor *editor, int cursorPos);
|
||||
virtual bool startDebugger();
|
||||
virtual bool startDebugger(const QSharedPointer<DebuggerStartParameters> &startParameters);
|
||||
virtual void exitDebugger();
|
||||
virtual void detachDebugger();
|
||||
virtual void updateWatchModel();
|
||||
@@ -107,10 +107,11 @@ private slots:
|
||||
void slotConsoleStubStarted();
|
||||
void slotConsoleStubError(const QString &msg);
|
||||
void slotConsoleStubTerminated();
|
||||
void slotAttachedCrashed();
|
||||
void warning(const QString &w);
|
||||
|
||||
private:
|
||||
bool startAttachDebugger(qint64 pid, QString *errorMessage);
|
||||
bool startAttachDebugger(qint64 pid, DebuggerStartMode sm, QString *errorMessage);
|
||||
bool startDebuggerWithExecutable(DebuggerStartMode sm, QString *errorMessage);
|
||||
void startWatchTimer();
|
||||
void killWatchTimer();
|
||||
|
||||
Reference in New Issue
Block a user