MCPcopy Create free account
hub / github.com/beefytech/Beef / GetDisplayInfo

Method GetDisplayInfo

IDEHelper/WinDebugger.cpp:6487–6503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6485}
6486
6487DwDisplayInfo* 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
6505static String WrapWithModifiers(const StringImpl& origName, DbgType* dbgType, DbgLanguage language)
6506{

Callers

nothing calls this directly

Calls 5

StringViewClass · 0.85
TryGetValueMethod · 0.80
TryGetValueWithMethod · 0.80
emptyMethod · 0.45
LastIndexOfMethod · 0.45

Tested by

no test coverage detected