From f40a346cdb0cfff1944aa274d628f1eee637e149 Mon Sep 17 00:00:00 2001 From: Koundinya Veluri Date: Fri, 16 Jul 2021 09:10:58 -0700 Subject: [PATCH] Fix debugger thread context validation after recent change Followup fix to https://github.com/dotnet/runtime/pull/55185 --- src/coreclr/debug/ee/debugger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/debug/ee/debugger.cpp b/src/coreclr/debug/ee/debugger.cpp index 9f7e2860594750..81965f1dee4360 100644 --- a/src/coreclr/debug/ee/debugger.cpp +++ b/src/coreclr/debug/ee/debugger.cpp @@ -15911,7 +15911,7 @@ BOOL Debugger::IsThreadContextInvalid(Thread *pThread, CONTEXT *pCtx) if (!success) { ctx.ContextFlags = CONTEXT_CONTROL; - BOOL success = pThread->GetThreadContext(&ctx); + success = pThread->GetThreadContext(&ctx); if (success) { pCtx = &ctx;