From d4daa0a3a2cabe43771237650b7768d5ea110876 Mon Sep 17 00:00:00 2001 From: Anthony Eid <56899983+Anthony-Eid@users.noreply.github.com> Date: Wed, 19 Mar 2025 01:37:32 -0400 Subject: [PATCH] Show debug console evaluation response (#27050) We weren't incrementing the output token when getting responses from the debug evaluation request which caused some output to not be displayed. (Usually the evaluation response, but that could cascade into other output events not showing) Release Notes: - N/A Co-authored-by: Remco Smits Co-authored-by: Max Brunsfeld --- crates/project/src/debugger/session.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/project/src/debugger/session.rs b/crates/project/src/debugger/session.rs index 086b6df7b5297415215d1b88110f81f58f43bec3..d7c975fb4723da57c44018bb65a82e56f42c0d28 100644 --- a/crates/project/src/debugger/session.rs +++ b/crates/project/src/debugger/session.rs @@ -1693,6 +1693,7 @@ impl Session { }, |this, response, cx| { let response = response.log_err()?; + this.output_token.0 += 1; this.output.push_back(dap::OutputEvent { category: None, output: response.result.clone(),