Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Step by step compilation

 
Dhee raj
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

I just had a doubt.
Is it possible to run a java program line by line as in C(By pressing F5)
If so how can it be done.

Thanks in advance.
 
John Jai
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The functionality of the F5 key should have been coded into the tool to run the C code.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15207
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

Several Java IDEs have a debugger which allows you to step through the code line by line. In Eclipse you can set breakpoints, run the program for debugging (Run / Debug As / Java Application).

For more about debugging in Eclipse see the documentation.
 
Dhee raj
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Jesper,
Thanks a lot.That really helped.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic