forked from qt-creator/qt-creator
debugger: only update location when the information gets better
The contents of the "original location" field is sometimes worse than what we collected otherwise. Use it only if it points to a readable file. Change-Id: I6c7229ead803e9f7970b8322f29469bfbe350b5d Reviewed-on: http://codereview.qt.nokia.com/1072 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -209,7 +209,7 @@ public:
|
||||
bool isBreakpoint() const { return !isWatchpoint() && !isTracepoint(); }
|
||||
bool isTracepoint() const { return tracepoint; }
|
||||
QString toString() const;
|
||||
void setLocation(const QByteArray &location); // file.cpp:42
|
||||
void updateLocation(const QByteArray &location); // file.cpp:42
|
||||
|
||||
bool operator==(const BreakpointParameters &p) const { return equals(p); }
|
||||
bool operator!=(const BreakpointParameters &p) const { return !equals(p); }
|
||||
|
||||
Reference in New Issue
Block a user