Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » regarding watchpoints(watchpoints)
regarding watchpoints [message #772230] Thu, 29 December 2011 04:54 Go to next message
keerthi vaidiyanathan is currently offline keerthi vaidiyanathan
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 04:57]

Report message to a moderator

Re: regarding watchpoints [message #774030 is a reply to message #772230] Tue, 03 January 2012 00:54 Go to previous message
Michael Rennie is currently offline Michael Rennie
Messages: 65
Registered: July 2009
Location: Canada
Member
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 Topic:bugs.eclipse.org 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: Mon Jul 28 12:46:09 EDT 2014

Powered by FUDForum. Page generated in 0.06198 seconds