| 6485 | } |
| 6486 | |
| 6487 | DwDisplayInfo* WinDebugger::GetDisplayInfo(const StringImpl& referenceId) |
| 6488 | { |
| 6489 | DwDisplayInfo* displayInfo = &mDebugManager->mDefaultDisplayInfo; |
| 6490 | if (!referenceId.empty()) |
| 6491 | { |
| 6492 | if (!mDebugManager->mDisplayInfos.TryGetValue(referenceId, &displayInfo)) |
| 6493 | { |
| 6494 | int dollarIdx = referenceId.LastIndexOf('$'); |
| 6495 | if ((dollarIdx > 0) && (referenceId[dollarIdx - 1] == ']')) |
| 6496 | { |
| 6497 | // Try getting series displayinfo |
| 6498 | mDebugManager->mDisplayInfos.TryGetValueWith(StringView(referenceId, 0, dollarIdx), &displayInfo); |
| 6499 | } |
| 6500 | } |
| 6501 | } |
| 6502 | return displayInfo; |
| 6503 | } |
| 6504 | |
| 6505 | static String WrapWithModifiers(const StringImpl& origName, DbgType* dbgType, DbgLanguage language) |
| 6506 | { |
nothing calls this directly
no test coverage detected