Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » regarding watchpoints(watchpoints)
regarding watchpoints [message #772230] Thu, 29 December 2011 09:54 Go to next message
keerthi vaidiyanathan is currently offline keerthi vaidiyanathanFriend
Messages: 1
Registered: December 2011
Junior Member
hi i am using eclipse for my project.wen i am trying to use watchpoints its showing "the operation is unavaible for current selection.please select or place the cursor on the field in eclipse".can u please explain in details about how to use watchpoints in eclipse. i tried all the methods of setting watchpoints.

Thanks in advance

[Updated on: Thu, 29 December 2011 09:57]

Report message to a moderator

Re: regarding watchpoints [message #774030 is a reply to message #772230] Tue, 03 January 2012 05:54 Go to previous message
Michael Rennie is currently offline Michael RennieFriend
Messages: 67
Registered: July 2009
Location: Canada
Watchpooints cannot be set on certain types of fields. For example you cannot set a watchpoint on:

1. an interface field
2. a final static field
3. a final field

Can you paste the snippet of code that you are trying to set the watchpoint in?

As a side note, if you are using the "Toggle Breakpoint" action - via the editor ruler or the menu action (Ctrl+Shift + B) you should get a line breakpoint on one of the aforementioned locations.
Previous blocks my login on one box, but logged in on the other
Next Topic:eclipse does not show contents of build dir (but they are there...)
Goto Forum:

Current Time: Fri Apr 20 13:02:53 GMT 2018

Powered by FUDForum. Page generated in 0.02875 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software