This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Debugging

 
Ishaan Mohan
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Is there any way to debug java code i.e line by line like a interpreter ?
Its urgent .
 
Fred Abbot
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
any decent IDE will have a debugger other wise use println
 
Ishaan Mohan
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can debug the code using jdb but problem is how can I set breakpoints in it ?
 
Ishaan Mohan
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got it. My Problem is solved.
Thanks anyway.
 
Fred Abbot
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ishaan Mohan:
I can debug the code using jdb but problem is how can I set breakpoints in it ?

IM SORRY BUT I AM NOT FAMILIAR WITH JDB
 
Ishaan Mohan
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way that we can know the value of a variable at particular point during debugging ?
I am trying this by placing System.out.println() place to place and setting breakpoints at that place.
Any other way ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic