Is there any way to see content of an array in a java program while program is running in debug mode? I mean just like scripting languages. I put a break point after the line of code that changed an array content, now haw can i see the content of the array? I use eclipse as IDE. thanks
2 Answers
Yes definitely. Use "Debug" icon in the toolbar and run your program and switch to debug perspective and use the variable window to check the array value.
1 Comment
Thomas Weller
My impression is that OP already knows about debug mode. The question is not how to start the debug mode, the question is how to see the array. If you exchange the screenshot by something more relevant, the answer would be much better.
