forked from qt-creator/qt-creator
debugger: try quicker start when no breakpoints are set
This prevents initial reading of debug information when no breakpoints are set. The debug information will be read on first stop instead, e.g. when the user interrupts. Change-Id: I6156347bf108e9ed89f54ca67021f37c02fa5116 Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
This commit is contained in:
@@ -420,9 +420,10 @@ private: ////////// Gdb Output, State & Capability Handling //////////
|
||||
Q_SLOT void handleResponse(const QByteArray &buff);
|
||||
void handleStopResponse(const GdbMi &data);
|
||||
void handleResultRecord(GdbResponse *response);
|
||||
void handleStop0(const GdbMi &data);
|
||||
void handleStop1(const GdbResponse &response);
|
||||
void handleStop1(const GdbMi &data);
|
||||
void handleStop2(const GdbResponse &response);
|
||||
void handleStop2(const GdbMi &data);
|
||||
Q_SLOT void handleStop2();
|
||||
StackFrame parseStackFrame(const GdbMi &mi, int level);
|
||||
void resetCommandQueue();
|
||||
@@ -746,6 +747,11 @@ private: ////////// View & Data Stuff //////////
|
||||
friend class DebugInfoTaskHandler;
|
||||
void requestDebugInformation(const DebugInfoTask &task);
|
||||
DebugInfoTaskHandler *m_debugInfoTaskHandler;
|
||||
|
||||
// Indicates whether we had at least one full attempt to load
|
||||
// debug information.
|
||||
bool attemptQuickStart() const;
|
||||
bool m_fullStartDone;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user