You can use the Expression view and evaluate the length member:

Keep in mind that the last index is less than the length!
While this works for public members, it seems that explicit members are required for protected members. Consider the following code:
... ByteArrayInputStream is = new ByteArrayInputStream(new byte[1769]); ...
Now, when you evaluate is.buf , the Expressions view displays an array dump, as shown in the question, but the evaluation of is.buf.length not performed using <error(s)_during_the_evaluation> . If we add an explicit conversion to ByteArrayInputStream , the job will be done:

source share