If you debug optimized C or C++ code and are sick of "Variable was optimized away" messages, try C++ Dynamic Debugging. You get the performance of optimized code, but the debuggability of unoptimized code.
Check out my talk to see how we implemented it!
We have just released a new CppCon 2025 Video!
MSVC C++ Dynamic Debugging: How We Enabled Full Debuggability of Optimized Code - by @ericbrumer- CppCon 2025
youtu.be/YnbO140OXuI
#Coding #Cplusplus #Cpp #Programming #cppcon
Eric Brumer retweeted

CppCon@CppCon28 Aug 2025
Turkey!
TurkeyConnected via WebLocation may be affected by a proxy or VPN.Account-level information, not a live location or per-post device.
CppCon 2025 SESSION ANNOUNCEMENT: MSVC C++ Dynamic Debugging: How We Enabled Full Debuggability of Optimized Code by Eric Brumer
cppcon2025.sched.com/event/2…
Register now: cppcon.org/registration/
#cpp #cplusplus #coding #programming
Eric Brumer retweeted
VS2022 Dynamic Debugging 좋아보인다. 최적화 되서 디버거에서 제대로 안보이는 변수도 Deoptimize 해서 값을 확인할 수 있게 해주네.
xitter.cf/VisualStudio/status/19…
〰️ Visual Studio 2022 v17.14 Release Party 〰️
Get introduced to the new Visual Studio 2022 v17.14 release.
🎉 Learn what's new in our blog: msft.it/6017SZ3qP
🎥 Streaming LIVE in just 20 hours on Visual Studio Toolbox. msft.it/6015SZ3qX
Eric Brumer retweeted
〰️ Visual Studio 2022 v17.14 Release Party 〰️
Explore the new C++ dynamic debugging now in Visual Studio 2022 v17.14
🎉 Learn what's new in our blog: msft.it/6017SZP6L
🎥 Streaming LIVE in just 4 hours on Visual Studio Toolbox. msft.it/6018SZP60
Eric Brumer retweeted
🌟Supercharge your development process with @VisualStudio's newest feature: C++ Dynamic Debugging
It deoptimizes code that you set breakpoints on or step into, giving you the performance of optimized code with the debugging experience of unoptimized code. #GDC2025
🔗Learn more: developer.microsoft.com/game…
Eric Brumer retweeted

Ari Arnbjörnsson@flassari25 Mar 2025
Finland
FinlandConnected via Finland App StoreAccount-level information, not a live location or per-post device.
Tired of debugging optimized code with missing variables and inlined functions?
@VisualStudio preview now has Dynamic Debugging which automatically unoptimizes functions you step into while debugging 👀
Available in UE 5.6, or with a simple cherry pick:
devblogs.microsoft.com/cppbl…
Eric Brumer retweeted
Visual Studio 2022 version 17.2 contains improvements to the C++ backend: new features, new and improved optimizations, build throughput improvements, and better security. Learn more: msft.it/6014bUsAk #VS2022
Eric Brumer retweeted
The site now supports execution on Windows platforms! Huge thanks to our friends at MS who support, code and run the infrastructure that makes this possible! -mg
MSVC compilers on @CompileExplore now support code execution and static analysis! devblogs.microsoft.com/cppbl…
Eric Brumer retweeted
MSVC compilers on @CompileExplore now support code execution and static analysis! devblogs.microsoft.com/cppbl…
Eric Brumer retweeted
Edge 97 was released to stable today. It includes full CFG support in renderer and browser. This combined with CET is 👌
Eric Brumer retweeted
All your favorite code analysis checks in Visual Studio are now available in GitHub!
Maintaining a C++ GitHub repo? Enable Code Scanning in your GitHub Actions and take advantage of MSVC Code Analysis today.
Here's how:
devblogs.microsoft.com/cppbl…
Bad news: none of us have the old ink_rendering.cpp code. We have a copy of the published sources, but we completely removed the guts of the ink code for IP concerns. And none of us seem to have a backup anyways. Sorry!
We never 'removed' points, but rather 'moved' them. This was patented, and I've been advised against publishing the sources for the specifics there: patents.google.com/?inventor…
I'm still digging for sources though, maybe something will be useful for you.
Interesting. We actually had issues with undersampling. I made our ink smoothing work on 60Hz & 120Hz, but even at 120Hz I think the hardware wasn't doing a great job producing touch points. That was 9 years ago, and I'm sure things are totally different now
The original (MSFT internal) source server is gone, codeplex is gone, and I can't find the sources on my machines... I'm asking my teammates if they have it.
@rharter can you expand on "reduce input points so splines work"? I'll do my best to answer
That brings back great memories! I had a ton of fun working on that project. I see codeplex is offline... Let me dig around to see if I still have the code around.
Caveat: we patented some of the ink work, but I'll see what I can publish.
Eric Brumer retweeted
We continue to invest in bringing fuzzing to every developer at Microsoft, and making it easier for everyone to continuously fuzz. We're searching for two engineers to join the team that builds OneFuzz.
aka.ms/onefuzzjobs
























