Add "ProfilingList" to debug printout

This commit is contained in:
Colin McMillen 2020-03-20 13:23:47 -04:00
parent 5ebc61015b
commit a1bc44296a

View File

@ -33,7 +33,7 @@ namespace SemiColinGames {
[Conditional("DEBUG")] [Conditional("DEBUG")]
private void CheckCapacity() { private void CheckCapacity() {
if (items.Capacity != previousCapacity) { if (items.Capacity != previousCapacity) {
Debug.WriteLine($"{name} capacity: {previousCapacity} -> {items.Capacity}"); Debug.WriteLine($"ProfilingList {name} capacity: {previousCapacity} -> {items.Capacity}");
previousCapacity = items.Capacity; previousCapacity = items.Capacity;
} }
} }