forked from qt-creator/qt-creator
improve breakpoint setting
first, try harder to have an up-to-date sources list. then, use the mapping whenever applicable and available.
This commit is contained in:
@@ -267,7 +267,9 @@ private: ////////// Gdb Output, State & Capability Handling //////////
|
||||
|
||||
private: ////////// Inferior Management //////////
|
||||
|
||||
// This should be always the last call in a function.
|
||||
Q_SLOT virtual void attemptBreakpointSynchronization();
|
||||
void attemptBreakpointSynchronization2(const GdbResponse &);
|
||||
|
||||
virtual void stepExec();
|
||||
virtual void stepOutExec();
|
||||
@@ -311,6 +313,7 @@ private: ////////// View & Data Stuff //////////
|
||||
void extractDataFromInfoBreak(const QString &output, BreakpointData *data);
|
||||
void breakpointDataFromOutput(BreakpointData *data, const GdbMi &bkpt);
|
||||
void sendInsertBreakpoint(int index);
|
||||
QString breakLocation(const QString &file) const;
|
||||
|
||||
//
|
||||
// Modules specific stuff
|
||||
@@ -355,6 +358,9 @@ private: ////////// View & Data Stuff //////////
|
||||
QMap<QString, QString> m_shortToFullName;
|
||||
QMap<QString, QString> m_fullToShortName;
|
||||
|
||||
bool m_sourcesListOutdated;
|
||||
bool m_sourcesListUpdating;
|
||||
|
||||
//
|
||||
// Stack specific stuff
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user