Array in my debug mode only display first 14 elements and the rest are display (?) question mark [duplicate]

血红的双手。 提交于 2019-12-13 23:29:54

问题


I am using windows 7 x64.

I happens to notice this problem yesterday.

In the code, I have a array of type int and size 500, or anything actually and X > 14

I am using a for loop to put number into that array. And, I set a debug break point at the end of the loop to look at the element in the array.

But, only the 0-14 elements of the array show has number and the rest show question marks?

However, if I were to print the array, I can see values in all of them.

I am using the Visual Studio 2012 Express mode.

I set debug mode to be Any CPU. I tried x64 and x86 also, but I have the same problem.

Do you know what is the problem?


回答1:


This is a (silly) bug in Visual Studio that's caused when you scroll through the debug view of the list with your mouse. To "remedy" it, use/click the down arrow at the bottom of the menu instead of using the mouse to scroll.

EDIT

See this for a similar/same issue



来源:https://stackoverflow.com/questions/23411433/array-in-my-debug-mode-only-display-first-14-elements-and-the-rest-are-display

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!