Increasing the number of debug items in Visual Studio

I usually have to watch byte [1024] and longer in the debugger (VS 2008). At least by default it displays 15 elements. I have 23 "widescreen screens that can be displayed 3 or 4 times vertically. Does anyone know how to get more items to display (if possible)?

Explanation This is mainly for C # code, and what interests me most is the built-in debugger window (the one that appears with + when you hover over an object in the code).

+4
source share
4 answers

To do this, you can write your own debugging visualizer .

+1
source

If you use C ++, use the format specifier in the debugger to display the number of elements to display

 theValue,42 

A complete set of format specifiers for C ++ is available here.

+2
source

I usually use a static class for fast and dirty hours:

 public static class DbgUtil{ public static string DisplayFrom(Array array,int start,int end){ /// you get the idea 

and set the clock or immediate window expression to DbgUtil.DisplayFrom(0,3,foo)

+1
source

Maybe mole can help you

0
source

All Articles