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

Method FindVisualizerForType

IDEHelper/Compiler/CeDebugger.cpp:4369–4384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4367}
4368
4369DebugVisualizerEntry* CeDebugger::FindVisualizerForType(BfType* dbgType, Array<String>* wildcardCaptures)
4370{
4371 auto ceModule = mCeMachine->mCeModule;
4372
4373 ceModule->PopulateType(dbgType);
4374 auto entry = mDebugManager->mDebugVisualizers->FindEntryForType(ceModule->TypeToString(dbgType), DbgFlavor_Unknown, wildcardCaptures);
4375
4376 if (entry == NULL)
4377 {
4378 auto typeInst = dbgType->ToTypeInstance();
4379 if ((typeInst != NULL) && (typeInst->mBaseType != NULL))
4380 entry = FindVisualizerForType(typeInst->mBaseType, wildcardCaptures);
4381 }
4382
4383 return entry;
4384}
4385
4386String CeDebugger::GetThreadInfo()
4387{

Callers

nothing calls this directly

Calls 4

FindEntryForTypeMethod · 0.80
PopulateTypeMethod · 0.45
TypeToStringMethod · 0.45
ToTypeInstanceMethod · 0.45

Tested by

no test coverage detected