| 6545 | } |
| 6546 | |
| 6547 | DebugVisualizerEntry* WinDebugger::FindVisualizerForType(DbgType* dbgType, Array<String>* wildcardCaptures) |
| 6548 | { |
| 6549 | auto entry = mDebugManager->mDebugVisualizers->FindEntryForType(dbgType->ToString(DbgLanguage_Unknown, true), dbgType->mCompileUnit->mDbgModule->mDbgFlavor, wildcardCaptures); |
| 6550 | |
| 6551 | if (entry == NULL) |
| 6552 | { |
| 6553 | dbgType = dbgType->GetPrimaryType(); |
| 6554 | dbgType->PopulateType(); |
| 6555 | for (auto baseTypeEntry : dbgType->mBaseTypes) |
| 6556 | { |
| 6557 | entry = FindVisualizerForType(baseTypeEntry->mBaseType, wildcardCaptures); |
| 6558 | if (entry != NULL) |
| 6559 | break; |
| 6560 | } |
| 6561 | } |
| 6562 | |
| 6563 | return entry; |
| 6564 | } |
| 6565 | |
| 6566 | #define GET_FROM(ptr, T) *((T*)(ptr += sizeof(T)) - 1) |
| 6567 |
no test coverage detected