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:
@@ -115,7 +115,7 @@ private:
|
||||
inline bool parseArgument(QStringList::const_iterator &it,
|
||||
const QStringList::const_iterator& end,
|
||||
QString *errorMessage);
|
||||
void attachExternalApplication(qint64 pid);
|
||||
void attachExternalApplication(qint64 pid, const QString &crashParameter = QString());
|
||||
|
||||
friend class DebuggerManager;
|
||||
friend class GdbOptionPage;
|
||||
@@ -131,8 +131,8 @@ private:
|
||||
int m_gdbRunningContext;
|
||||
unsigned m_cmdLineEnabledEngines;
|
||||
quint64 m_cmdLineAttachPid;
|
||||
// Exception that crashed an app passed on by Windows
|
||||
unsigned long m_cmdLineWinException;
|
||||
// Event handle for attaching to crashed Windows processes.
|
||||
quint64 m_cmdLineWinCrashEvent;
|
||||
QAction *m_toggleLockedAction;
|
||||
|
||||
QAction *m_startExternalAction;
|
||||
|
||||
Reference in New Issue
Block a user