diff --git a/src/apps/debugger/arch/Architecture.cpp b/src/apps/debugger/arch/Architecture.cpp index 05eb903689..62aee4cfa1 100644 --- a/src/apps/debugger/arch/Architecture.cpp +++ b/src/apps/debugger/arch/Architecture.cpp @@ -185,7 +185,7 @@ Architecture::CreateStackTrace(Team* team, return B_NO_MEMORY; } - frame = nextFrame; + nextFrame = frame; cpuState = previousCpuState; if (--maxStackDepth == 0) break;