I'm teaching an AP class but they are still kids (~14 years old). No jdb won't do. I want something very simple. Something that doesn't consume time learn.
Something that basically prints a continuously updated trace table, with all the variables, their values and their details.
>>1
Teach them to reach satori before they are corrupted by the enterprise. This is our most desperate hour. Help us, Obi-Wan Kenobi; you're our only hope.
Tell them to put lots of System.Out.PrintLineFoo or whatever Java uses to print out something into their code. Simple and straightforward. I still debug most of my code this way.
Name:
Anonymous2010-11-19 18:59
instead of a debugger use an IDE that uses UML like BlueJ
I was taught Java using BlueJ. We then switched to another IDE when we needed to make larger projects.
In my experience BlueJ is an excellent playpen for Java.