This post originated from an RSS feed registered with Java Buzz
by Vasanth Dharmaraj.
Original Post: Eclipse tip: Rewind during debugging
Feed Title: Vasanth Dharmaraj's Blogs
Feed URL: /SyndicationService.asmx/GetRssCategory?categoryName=Technology%7CJava
Feed Description: my thoughts on dot net, java, linux, formula one, xbox gamming...(my java category)
When I am debugging, I often step through code very quickly and step over the line
I am interested in. To get back to the line I have to start the debugging process
all over again. This is time consuming if the there are multiple steps involved in
the debugging process.
Eclipse has a feature called "Drop to Frame" which allows me to step back
in the debugging process. Now if I miss a line I can just choose Drop to Frame and
start from the beginning of the method again. I can also choose any stack frame and
use Drop to Frame in its context menu to restart debugging from that method.
This is a cool feature and is bound to save a lot of time for me. This works only
with 1.4 or higher VM.