struct {long x; char y[16];} s;
is there a way to specify that I want to "watch" only the first four
characters of the array? I tried
s.y[0-4]
s.y[0:4]
with and without a leading & which produced error message CXX0034 and
s.y,4
with and without a leading & which appeared to ignore the 4 and
displayed all 16 characters.
--
Remove del for email
You can do it with this expression:
((char*)s.y), 4
HTH
Alex
Thanks but -
If I click on the "+", this will limit the expansion to four elements
but in the value column next to the variable name I still see all 16
elements
I don't think you can change this. It is because debugger
intellisense infers an expresion type from the code.
Alex