TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Monitor variables in functions in C++ with Visual Studio extension

2 点作者 donadigo超过 1 年前

1 comment

donadigo超过 1 年前
Hello HN, for about 6 months I&#x27;ve been developing a Visual Studio extension that makes it easier to debug &amp; inspect dynamic C++ code that changes state e.g every frame. The newest feature I added to the extension is showing real-time changes alongside each line. This works kind of like a global, immediate watch, but without any breakpoints - this is really useful in game development where you&#x27;d like to track variables that change state all the time.<p>The feature works by setting the cursor inside a function, and the extension will start showing you the code paths that are executed and what local variables are changing in it. You can also use it as a function recorder with no breakpoints - just set the cursor in the function, execute an action that calls the function and you&#x27;ll be able to trace everything that the function did.<p>Here&#x27;s a demo of the feature: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=5bfUWJYEQCw" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=5bfUWJYEQCw</a><p>Marketplace: <a href="https:&#x2F;&#x2F;marketplace.visualstudio.com&#x2F;items?itemName=donadigo.d0" rel="nofollow">https:&#x2F;&#x2F;marketplace.visualstudio.com&#x2F;items?itemName=donadigo...</a> (note: this is a paid extension).