|
Re: Java IDE: Can't set regular breakpoints in; options grayed out [message #1691852 is a reply to message #1691837] |
Fri, 10 April 2015 07:53 |
James Hogan Messages: 3 Registered: April 2015 |
Junior Member |
|
|
OK, well... after another hour of beating my head against the wall, I've somehow fixed it.
I created a new project from scratch, and noticed breakpoints worked there.
In the original/broken project, I had moved the .java source file into the Eclipse project directory manually from the command line, rather than creating it within the IDE. Would this have caused a problem somehow? Is there some sort of metadata which Eclipse didn't have?
I moved the class to a new package (it had been in the default package) and then the breakpoints appeared. I moved them back to the default package, and they were still there, so it doesn't seem to be a function of package location.
Anyway, it'd be interesting to understand what happened here, if anybody has any ideas.
|
|
|
Re: Java IDE: Can't set regular breakpoints in; options grayed out [message #1691960 is a reply to message #1691852] |
Fri, 10 April 2015 23:06 |
|
On 04/10/2015 01:53 AM, James Hogan wrote:
> OK, well... after another hour of beating my head against the wall, I've
> somehow fixed it.
>
> I created a new project from scratch, and noticed breakpoints worked there.
>
> In the original/broken project, I had moved the .java source file into
> the Eclipse project directory manually from the command line, rather
> than creating it within the IDE. Would this have caused a problem
> somehow? Is there some sort of metadata which Eclipse didn't have?
>
> I moved the class to a new package (it had been in the default package)
> and then the breakpoints appeared. I moved them back to the default
> package, and they were still there, so it doesn't seem to be a function
> of package location.
>
> Anyway, it'd be interesting to understand what happened here, if anybody
> has any ideas.
Hard to tell, but maybe it's as simple as having moved source code in
the filesystem then not done File -> Refresh from the IDE.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03576 seconds