DAP: Show variables for different scopes

Fixed displaying several the same variables.

Change-Id: I848113de3a5e142394fbdb4efd40230f43c2417f
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Artem Sokolovskii
2023-09-01 14:08:26 +02:00
parent e0ebce5379
commit 1b67da6558
2 changed files with 33 additions and 19 deletions

View File

@@ -113,6 +113,8 @@ protected:
int m_nextBreakpointId = 1;
int m_currentThreadId = -1;
bool m_isFirstLayer = true;
std::queue<int> m_variablesReferenceQueue;
WatchItem *m_currentWatchItem = nullptr;
QList<WatchItem *> m_watchItems;
};