GeeCON Prague 2014*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse breakpoint problem: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse breakpoint problem: "a break point already exists at the next valid location"" Watch "Eclipse breakpoint problem: "a break point already exists at the next valid location"" New topic
Author

Eclipse breakpoint problem: "a break point already exists at the next valid location"

Joseph Sweet
Ranch Hand

Joined: Jan 29, 2005
Posts: 327
Hi there,

Using the last Eclipse (Galileo).
I am trying to set a break point at some point of a the main method.
But Eclipse will not let me do it, instead it says at the bottom of the screen in red lettering "a break point already exists at the next valid location --- line 140".
Line 140 is the end of the main method.
So it does set a break point there, but why not where I wanted?
Other files in the project do not exhibit that problem.

Any idea what is wrong? I'd appreciate your help.

We must know, we will know. -- David Hilbert
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10426
    
    8

Open your project.
Switch to Debug perspective (Window->Open Perspective->Debug)
Select the Breakpoints tab. Here you will see a list of all the set breakpoints. Does your main method line 140 show up here?
Click on Remove All Breakpoints in the Breakpoints tab.
Switch to Java perspective and retry setting the breakpoint


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Angel Jordan
Greenhorn

Joined: Feb 11, 2010
Posts: 4
I'm having the exact same problem. Did you find the reason already why it's happening like that?

Thanks!
 
GeeCON Prague 2014
 
subject: Eclipse breakpoint problem: "a break point already exists at the next valid location"