Debugger: Always sort local variables alphabetically.

It was there for GDB at a time, but never for the other backends.
Fix the GDB regression and make the sorting consistent across
backends.

Task-number: QTCREATORBUG-15296
Change-Id: If728c65f0c8ca4a8378c7cf5e53f1dadbfb72b29
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2016-04-05 13:27:24 +02:00
parent 9bc60e0b9d
commit e73a9c1b0d
5 changed files with 62 additions and 51 deletions

View File

@@ -109,7 +109,9 @@ public:
void setCurrentItem(const QByteArray &iname);
void updateWatchersWindow();
void insertItem(WatchItem *item); // Takes ownership.
bool insertItem(WatchItem *item); // Takes ownership, returns whether item was added, not overwritten.
void insertItems(const GdbMi &data);
void removeItemByIName(const QByteArray &iname);
void removeAllData(bool includeInspectData = false);
void resetValueCache();
@@ -119,6 +121,7 @@ public:
void notifyUpdateFinished();
void reexpandItems();
void recordTypeInfo(const GdbMi &typeInfo);
private:
WatchModel *m_model; // Owned.