-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.3.1, Qt Creator 4.4.0-beta1, Qt Creator 4.6.0
-
None
-
* MacOS Sierra 10.12.5
* lldb --version
lldb-370.0.42
Swift-3.1
* Xcode: 8.3.3
-
7236e340a968be964e67ced3f29eadf76787fdcf
The debugger does not display std::map and std::unordered_map when you expand them. At first it displays how many items, but once you click the arrow to expand, it becomes <not accessible>. QMap works okay. And std::string and std::vector are also showing correctly.
This is the debugger view:

Code:
std::map<std::string, float> testNotDisplaying;
testNotDisplaying["bla"] = 3.0;
testNotDisplaying["brol"] = 7.20;
std::unordered_map<std::string, float> testNotDisplaying2;
testNotDisplaying2["bla"] = 3.0;
testNotDisplaying2["brol"] = 7.20;
QMap<std::string, float> testDisplaysOk;
testDisplaysOk["bla"] = 3.0;
testDisplaysOk["brol"] = 7.20;
| For Gerrit Dashboard: QTCREATORBUG-18536 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 255053,3 | Debugger: Fix std::{unordered_,}{map,set} dumper for libc++ | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
| 255097,3 | Debugger: Fix std::{unordered_,}{map,set} dumper for libc++ | 4.9 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |