Created
May 29, 2017 11:02
-
-
Save Criteo-dotnet-blog/1a324ec7ca767a9be66bce5368dd4d71 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val = GetFieldValue(heap, currentTimerQueueTimerRef, "m_state"); | |
ti.StateTypeName = ""; | |
if (val == null) | |
{ | |
ti.StateAddress = 0; | |
} | |
else | |
{ | |
ti.StateAddress = (ulong)val; | |
var stateType = heap.GetObjectType(ti.StateAddress); | |
if (stateType != null) | |
{ | |
ti.StateTypeName = stateType.Name; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment