Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

viewing buffer contents in a debug watch window

Is there a way to enter expression in debug watch window to see a portion of a buffer having only a pointer to it? i.e first 200 elements of it.

like image 890
Ulterior Avatar asked Dec 21 '22 11:12

Ulterior


1 Answers

Sure. If you have a buffer named, say, buf, write this in the watch window:

buf, 200

And VS will show you the first 200 elements of the array.

like image 123
eran Avatar answered Jan 07 '23 16:01

eran