Skip to content

Commit dac11e0

Browse files
Copilotjakobbotsch
andauthored
Fix continuation names appearing wrong in SOS debugger (#121010)
Fixes #121008 Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jakobbotsch <7887810+jakobbotsch@users.noreply.github.com>
1 parent 415b8aa commit dac11e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/coreclr/vm/asynccontinuations.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ void AsyncContinuationsManager::PrintContinuationName(MethodTable* pMT, AppendSt
6868
{
6969
append("Continuation_", W("Continuation_"));
7070
appendNum(pMT->GetBaseSize() - (OBJHEADER_SIZE + OFFSETOF__CORINFO_Continuation__data));
71-
CGCDesc* desc = CGCDesc::GetCGCDescFromMT(pMT);
72-
CGCDescSeries* lowestSeries = desc->GetLowestSeries();
73-
for (CGCDescSeries* curSeries = desc->GetHighestSeries(); curSeries >= lowestSeries; curSeries--)
71+
PTR_CGCDesc desc = CGCDesc::GetCGCDescFromMT(pMT);
72+
PTR_CGCDescSeries lowestSeries = desc->GetLowestSeries();
73+
for (PTR_CGCDescSeries curSeries = desc->GetHighestSeries(); curSeries >= lowestSeries; curSeries--)
7474
{
7575
if (curSeries->GetSeriesOffset() < OFFSETOF__CORINFO_Continuation__data)
7676
{

0 commit comments

Comments
 (0)