I have been using Eclipse for a while now, and up to about a week ago the debugger has been working fine. However, now it does not run in the debug mode, but as if I just pressed run. Also, my breakpoints look different and have small black arrows on them. I tried reinstalled eclipse, but that did not work. This is what the breakpoints look like now. I am using jdk 1.8.0_172.
These are some of the breakpoints:
These are Triggers for breakpoints.
For details:
See Eclipse 4.7 - New and Noteworthy
Watch my short video
Related
Suddenly the hints and highlights on Netbeans stopped working for me. It won't show suggestions on imports and it won't highlights errors. I intentionally wrote int i = "hello":and the code wasn't highlighted and no warnings came up. I've checked >Preferences >Editor and form what I can tell Code Completion, Code Templates, Hints and Highligthing are all selected. I checked some older posts here and also tried to delete the index in the caches folder. I've discarded my project and started over, uninstalled and installed Netbeans and restarted my laptop at few times now but the issue is still there. It was working fine until yesterday afternoon. Any suggestions? I run Netbeans on macOS Catalina if that matters.
EDIT**
I now noticed this problem only occurs in projects where I have a JForm.
I had the same problem and here how I solved it:
Exit Netbeans
Go to : C:\Users\UserName\AppData\Local\NetBeans =====> DELETE Cache folder
Open Netbeans and it's fixed
Ever since I updated eclipse to Mars it's been having a lot issues, Right now I have an LWJGL program, If I launch it after I just opened eclipse, It works just fine, But if I relaunch it afterwards the program displays black, I haven't even changed the code it just stops working, And if I change the code and undo it and launch then it works, But relaunching again makes it stop working again.
WHAT IS THIS MADNESS?!
I had a lot issues with Mars, and now I am using Luna on my linux. Eveything work. But try to reinstall mars. Maybe it solve your problems.
I am trying to put breakpoints in my code for some simple debugging but my program is not stopping or telling me if the breakpoints is reached. I use CRTL+SHIFT+B and the breakpoint is visible in blue (enabled) on the left side. I am using these breakpoints in my core project and running from desktop project. Am i missing something and/or how to fix this?
Did you check the
Menu -> Run -> Skip All Breakpoints
to see if it was checked? I ran into this once and it drove me crazy as well.
Couple of weeks ago I installed complete ADT bundle from here. this comes up with Android Developer Tool (Eclipse) Build: v22.3.0. Sometimes its shortcut keys do not work. If I close my eclipse and start it again, then it works fine, and if I use to keep work then after some times it again gives the same problem. Is that any bug or issue or did I do something wrong?
Any suggestion?
Its a bug. Happens on windows or sometimes on my ubuntu too. I can not even do a Ctrl + S to save the file. Restarts solves the problem. Its an eclipse bug.
I realize there were a bunch of these questions a few years ago. But those problems were fixed an update to Java 6. But I'm on Java 7.
I'm on a Mac OS X, Java 7, everything is up to date.
Things I've tried:
Project Clean
In the debug config, I tried telling it to not run in the background.
In the debug config, tried both running all tests in class and just running a specific test
Double checked jar files and project config
The unit tests DO run, they just don't pause for debugging.
Update:
If I set a breakpoint in the grandparent class SolrTestCasJ4, which is in a second project open in the workspace, AND change the debug config from running a method to run all, it stops near the top of one of my test methods. But it only for an initial breakpoint in the grandparent class. I guess that's an OK workaround for now, but a bit weird and not really an explanation.
It's possible that you're Eclipse instance isn't the one running tomcat. Sometimes eclipse will crash and your server is still running. When you reopen eclipse you can run your tests, but the breakpoints