Eclipse Watchpoint error

Posted on 2008-10-23
Last Modified: 2013-12-15
I have some files that run correctly.  When I try to set a Watchpoint I get this error: "The operation is unavailable on the current selection.  Please select or place the cursor on a field."

I the selected several variables and I get the same error.
What might I be doing wrong?
Question by:chima
  • 3
  • 3
LVL 24

Expert Comment

ID: 22789876
I call it a Breakpoint.

Breakpoints must be put on statements, not on declarations.

Can you show us the code fragment and the line you put the breakpoint on?


Author Comment

ID: 22791213
JOOP! thanks, I am getting along based on what you wrote.  The I have another question along the same vain.  When I hover over schemaDoc at this line; Document schemaDoc =;
I get the popup window with the content of schemaDoc.  This window branchs out to hundreds of nodes (if you will).  Question; Is there a key stroke/command that will expand "ALL" of the nodes?  Or is the a SEARCH command that allows me to find the text I am looking for?
LVL 24

Accepted Solution

sciuriware earned 500 total points
ID: 22793655
The content assist is very complex now.
If you are using ECLIPSE 3.4, go look here:

and click on:

(Printer friendly version covering all of Eclipse.)

That will explain all you are looking for.
And keep it as a manual.

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.


Author Comment

ID: 22807864
JOOP! thanks, I knew that read about it was an option, and i will read the information at the link you provided.  I was looking for a quick an simple command that would expand all the nodes.  I'll read that link tonight.

Author Closing Comment

ID: 31509352
LVL 24

Expert Comment

ID: 22813174
Let's be grateful that we live in an area where all this fantastic software is free.

20 years ago JAVA JDK would have been $2000 and ECLIPSE $50,000 !!!


Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
JList custom Cell Renderer refresh 15 56
split string containing \r\n in Java 46 43
configure dependency in POM for new database 3 25
Configure a Bean in an XML file 4 31
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

774 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question