Jump to content

Stepping through code by hand tips


stuffradio

Recommended Posts

For example, Eclipse.  You make a breakpoint at line 3, and click the bug.  It shows an alternate window in which there is another button called Step Over. Click it and it will execute just line three. Click again and it will execute line 4.  Keep clickign and you'll work down as far as you want...plus it shows what was executed at each line.

In my Java class we're supposed to step through the code by hand and write the output of the text in order that it is executed.

 

A good discipline. That's exactly what should be going on your head when you are writing the code.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.