Eclipse is driving me nuts right now. It's probably something trivial but I just don't get it. Whenever I like to add a breakpoint, the regular icons are crossed out in the editor and breakpoints view.
As you might have guessed, this isn't strictly a graphical problem ;) The breakpoints are simply ignored while debugging. The breakpoint's properties aren't helpful either.
Any hint is very well appreciated!
EDIT:
I've tested different JDKs without success.
I've successfully debugged projects in another workspace
Okay, so it's not about the JDK or the installed plugins. Seems to be workspace related. Anything I could try?
It seems you have the Skip All Breakpoints option enabled in the Breakpoints view.
Related
I am developer who is using xTend. The docs for this kind of programming language are introduced at this link:
https://www.eclipse.org/xtend/documentation/
When I used Eclipse Photon version to develop my product. I ran into the issue related to debugging.
AFAIK, xTend code will always be intermediately compiled to java code first.
The issue description as below:
The debugger can hit breakpoints if they are toggled in java code.
But, when I toggle breakpoints in xTend code, the debugger doesn't hit the breakpoints any longer.
I tried some times to refresh my Eclipse workspace (delete old one / create new one), even used other version of Eclipse. But, still didn't solve the issue.
Who had already run into this situation, could you share your idea or solution on this ?
I have resolved the problem.
This happened because the configuration not adequate.
If you have same situation to me,
please consider to check all below Eclipse debugger's configurations.
So I installed the newest Netbeans yesterday after not having used it for awhile, and when I got it open, the whole interface (menus and context menus) are all coming up in nonsense!
I've tried reinstalling Netbeans, and also adding "--locale enUS" to the target path, but I just can't get the menus to come up in English. Also, it's not like I can navigate the options to try to change anything because even if I do get to them, they are all gargled as well!
Does anybody know what I should do here?! It's really setting me back in my work!
I looked around and found an answer! I just added -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd --laf Metal to the config, and now I'm in business!
I'm having somewhat of a strange problem with NetBeans. I'm creating a program in Java that has multiple packages in it. I created 2 new classes for the project, but immediately afterwards I realized that I put them in the wrong package. So, I clicked the name of the class in the projects panel, dragged it to the appropriate package, and released. NetBeans then asked if I wanted it to refactor my code. This was the first time I've done this so I decided to preview it. It looked fine (just changed the package name) so I went ahead and moved the 2 classes over, allowing NetBeans to refactor them. This is where my problem comes in.
I realized while coding that NetBeans is no longer underlining the errors in my code, yet-to-be-finished lines, etc. It is instead just italicising the font. I thought this was strange so I decided to test it out in another class and for some reason everything worked fine in the other class. It turns out that NetBeans is only giving me this strange behavior in the 2 classes that it moved and refactored.
So I looked online and saw that you could change what NetBeans does with errors in Tools -> Options -> Fonts & Colors -> Syntax -> Category Error. I figured this would't work because this was obviously a preferences page for "everything." My settings were fine, so I changed the error setting, applied the change, and then changed it back to try and "re-force" the error highlighting preferences. Now NetBeans doesn't underline errors anywhere, and only italicises them.
In addition, the syntax highlighting preferences for everything (default, character, comment, etc.) that did not already have any effects color or effects setting now show "Effects: Wave Underline Effects Color: Red". And if that wasn't weird enough, they don't even "red underline." I've tried closing and reopening the classes and restarting NetBeans but nothing's working.
I took screenshots but unfortunately I can't post them because I don't have 10 Rep. Did I break my NetBeans? Thanks in advance.
EDIT: Even though my error setting were correct:
Effects: Wave Underline
Effects Color: Red,
restoring the default NetBeans settings for Fonts & Colors fixed my problem. Must have been some sort of strange bug?
Maybe is too late, but a have de same issue.
Try with Windows>Reset Windows.
In my case only happens in one class.
I had exactly the same problem with NetBeans 8.1 pressing 'Restore' and restarting worked for me.
Beside my project name says [Desktop NO-HEAD] in eclipse. I am developing an android application, and was wondering if there is anything wrong with this, why it might be saying that, and if it makes a difference to anything, though everything seems to compile and debug normally. Surprisingly, I have found literally nothing online about this. I was just wondering if anybody knew, thanks!
You apparently have some type of version control going on. Right click on yoir project and go to Team. If you don't want to see it and/or don't want to have any version control at the moment there should be an option somewhere there in Team to disconnect.
In my case, for git, in Eclipse Team settings, I had to Disconnect and then Share Project (Right-click project -> Team -> Disconnect / Share Project...) with the following settings:
Checking any other permutation of those check boxes caused the NO-HEAD for me.
I'm looking at learning JavaFX.
I've tried setting Eclipse to develop a small app and I've downloaded the Eclipse plugin.
Eclipse JavaFX plugin
BUT... it just seems, well, flakey.
So I have 3 questions...
1: Is there a better plugin?
2: Or is there some great set of tutorials out there that I'm missing?
3: finally, is it meant to be easy to call Java code from FX? I'm stuggling, it there a good example somewhere?
On questions 1 & 2, Eclipse underlines code in red that just shouln't be. For example..
see this image... alt text http://www.qenet.co.uk/fx.jpg
Why does it underline bit of imports in red?
I know this is little of an open ended question. So I guess my main question is this...
Is my experiance of JavaFX and Eclipse the best I can hope for? Or am I missing something ?
(and I'm not looking for a Yes/No response) :-)
Just looking for a discussion on how best to learn/develop JavaFx.
This kind of thing is not unusual. A lot of Eclipse plugin editors have problems dealing with error tags and the like. For example,
I find that the XML and HTML file editors often fail to clear error and warning markers, and the only way to get rid of the markers it is close and reopen the file.
Even the Java viewer gets it wrong in some circumstances, though the problem goes away when the relevant files are saved.
When you update a spelling dictionary, the spelling checker is not rerun and the spelling error markers are not updated. In fact, you have to restart Eclipse for this to happen.
I suggest that you try saving files, and closing/reopening editors to see if that makes the bogus error markers go away. Then decide whether Eclipse is the right IDE for this task.
I've never used NetBeans (at all), but you would expect that it would do a better job supporting JavaFX. After all NetBeans and JavaFX are both high profile Sun products at the moment.
Netbeans is really the only way to go at the moment for JavaFX development. They are both Sun products and Sun has made sure the two work very well together. Before long Eclipse and others will catch up but for the moment that's how it is.
There is another JavaFX plug-in for Eclipse from Exadel. You can download it here: http://exadel.org/javafxplugin. Give it a try.
I have similar problems but funnily only under Linux, not Windows. Hope they change that soon.
To me this has happened when I wronlgy installed javafx sdk 1.2.3....This plugin works only with 1.2.1... :/