Why do Visual Studio 2010 DataTips look different between projects/solutions?
Sometimes the DataTips look like this....
and sometimes like this...
the code for each screenshot is (crude but) the same
var list = new List<DateTime>();
list.Add(DateTime.Now);
开发者_开发知识库 list.Add(new DateTime());
Is a project setting or something else?
You are probably using two different IDEs. The first screenshot is what you'll typically get from the debugger in a VB.NET or C# project. The second is a C++/CLI project compiled to 64-bit code. The 64-bit debugger is special, you are actually using the remote debugger. Required because Visual Studio is a 32-bit process. Debugger visualizers make a difference as well. And there's something really wrong with that list variable.
It looks like you've set the "Hexadecimal Display" option.
When you hit a breakpoint right click over the "Locals" or "Watch" window and clear the checkbox from the context menu.
I thought that was global, but it might well be on a per project basis.
精彩评论