Over a million developers have joined DZone.
Silver Partner

IntelliJ Debug Mode: Viewing Beyond 100 Frames/Items in an Array

· Java Zone

In my continued attempts at the Kaggle Digit Recognizer problem I’ve been playing around with the encog library to try and build a neural networks solution to the problem.

Unfortunately it’s not quite working at the moment so I wanted to debug the code and see whether the input parameters were being correctly translated from the CSV file.

Each input is an array containing 784 values but by default IntelliJ restricts you to seeing 100 elements which wasn’t helpful in my case since the early values tend to all be 0 and it’s not until you get half way through that you see different values:

100limit

It’s actually relatively easy to see the other values by right clicking on the array in question and clicking ‘Adjust Range’:

Screen shot 2012 11 25 at 22 59 42

Then I type in the end index of the array and we’re done!

Screen shot 2012 11 25 at 23 00 44

Topics:

Published at DZone with permission of Mark Needham , DZone MVB .

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}