title: How can I change the representation of 2-dimensional arrays in the debugging mode of eclipse?
body: <p>As you can see in the picture is a variable called board. It's defined as:</p>
  
  <pre><code>int board[][] = new int[10][10] 
  </code></pre>
  
  <p>I'd like to have a representation like this:</p>
  
  <pre><code>[[3, 3, 3, 3, 3, 3, 3, 3, 3, 3],
  [3, 1, 1, 1, 1, 1, 1, 1, 1, 3],
  [3, 1, 1, 1, 1, 1, 1, 1, 1, 3],
  [3, 1, 1, 2, 1, 1, 1, 1, 1, 3],
  [3, 1, 1, 1, 2, 2, 1, 1, 1, 3],
  [3, 1, 1, 1, 2, 0, 1, 1, 1, 3],
  [3, 1, 1, 2, 1, 1, 1, 1, 1, 3],
  [3, 1, 1, 1, 1, 1, 1, 1, 1, 3],
  [3, 1, 1, 1, 1, 1, 1, 1, 1, 3],
  [3, 3, 3, 3, 3, 3, 3, 3, 3, 3]]
  </code></pre>
  
  <p>Or even better without the brackets and just commas and if possible also that there are arranged like if you'd use:</p>
  
  <pre><code>printf("%3", board[i][j])
  </code></pre>
  
  <p>To print it as there might be numbers > 10, e.g. with different numbers of characters.</p>
  
  <p>I have seen something very similar some time ago, unfortunately I don't have a screenshot of it.</p>
  
  <p><a href="https://i.stack.imgur.com/7AwkT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7AwkT.png" alt="I have an array"></a></p>