英文:
In Visual Studio 2022, how to make the Debug window show the string variables as strings?
问题
我正在使用 Windows 10 64 位计算机,运行 Microsoft Visual Studio Professional 2022(64 位)- 版本 17.6.4
在这里,我正在尝试在 Visual Studio 调试窗口中检查一个变量。
有一个名为 project_repository_
的字符串,它显示为字符数组。因此,每次对于每个字符串变量,我都需要展开并检查其中的每个字符。
在哪里找到设置以直接显示字符串变量?
英文:
I am using Windows 10 64 bit PC where I am running Microsoft Visual Studio Professional 2022 (64-bit) - version 17.6.4
Here I am trying to check a variable in Visual Studio debug window.
There is a string project_repository_
which shows the string as character arrays. So, every time, for every string variable, I need to expand and check every character inside.
Where to find the setting to show string variables directly?
答案1
得分: 0
我没有找到问题的根本原因,但在将我的个人电脑升级到64位的Windows 11之后,问题现在不存在了。
我现在可以看到整个字符串,而不需要展开每个字符。
感谢每个尝试帮助解决此问题的人的时间和努力。
谢谢各位!
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论