We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7ba388 commit f3cd92eCopy full SHA for f3cd92e
src/coreclr/debug/ee/functioninfo.cpp
@@ -1575,7 +1575,11 @@ DebuggerJitInfo *DebuggerMethodInfo::FindOrCreateInitAndAddJitInfo(MethodDesc* f
1575
if (startAddr == NULL)
1576
{
1577
startAddr = g_pEEInterface->GetFunctionAddress(fd);
1578
- _ASSERTE(startAddr != NULL);
+ if (startAddr == NULL)
1579
+ {
1580
+ //The only case this should happen is if we are trying to get the DJI for a method that has not been jitted yet.
1581
+ return NULL;
1582
+ }
1583
}
1584
else
1585
0 commit comments