go ahead and always trace unhandled UDT child types

This commit is contained in:
Dan Thompson (SBS) 2020-11-07 13:24:46 -08:00
Родитель 583f0fa7d2
Коммит 1844014197
1 изменённых файлов: 0 добавлений и 4 удалений

Просмотреть файл

@ -497,11 +497,9 @@ namespace MS.Dbg
} }
else else
{ {
#if DEBUG
string key = Util.Sprintf( "{0}+{1}", Util.GetGenericTypeName( child ), child.SymTag ); string key = Util.Sprintf( "{0}+{1}", Util.GetGenericTypeName( child ), child.SymTag );
if( sm_unhandledTypes.Add( key ) ) if( sm_unhandledTypes.Add( key ) )
LogManager.Trace( "Need to handle children of type {0} ({1}, parent {2}, id {3}).", Util.GetGenericTypeName( child ), child.SymTag, TypeId, child.TypeId ); LogManager.Trace( "Need to handle children of type {0} ({1}, parent {2}, id {3}).", Util.GetGenericTypeName( child ), child.SymTag, TypeId, child.TypeId );
#endif
} }
} }
@ -526,9 +524,7 @@ namespace MS.Dbg
m_functions = functions; m_functions = functions;
} // end _PopulateMembers() } // end _PopulateMembers()
#if DEBUG
private static HashSet< string > sm_unhandledTypes = new HashSet<string>( StringComparer.OrdinalIgnoreCase ); private static HashSet< string > sm_unhandledTypes = new HashSet<string>( StringComparer.OrdinalIgnoreCase );
#endif
public static DbgUdtTypeInfo GetUdtTypeInfo( DbgEngDebugger debugger, public static DbgUdtTypeInfo GetUdtTypeInfo( DbgEngDebugger debugger,