|
This post originated from an RSS feed registered with Java Buzz
by Vasanth Dharmaraj.
|
Original Post: Eclipse tip: Watch points
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)
|
Latest Java Buzz Posts
Latest Java Buzz Posts by Vasanth Dharmaraj
Latest Posts From Vasanth Dharmaraj's Blogs
|
|
When debugging it is sometimes interesting to know when a variable is accessed or
modified. Watch point is special breakpoints which does exactly this. A watch point
will suspend execution when a specified variable is accessed or modified.
To add/remove a watch point, right click on any variable in the outline view and choose
the "Toggle Watchpoint" option.
The watch point now appears in the Breakpoints view. The watch point can be configured
to suspend only when the variable is accessed or only when it is modified. Right click
on the watch point and choose "Properties…" to change these settings.
Thread filtering and hit counter are also available.
Read: Eclipse tip: Watch points