|Breakpoints stop working with JUnits/Mockito mid-development [message #1810896]
||Wed, 21 August 2019 12:49
| J Smith
Registered: August 2019
I've been using Eclipse for decades, and sure, after using an install for a while stuff eventually stops working correctly. But this install is less than 4 months old.|
I'm running JUnit tests (and sometimes Cucumber tests hooked in) with the debug icon in the toolbar. They've worked until yesterday.
I started using Mockito spy(..) because one class is too complex and started getting the "Unable to install breakpoint in...$MockitoMock$.. due to missing line number attributes. Modify compiler options.."
But then it continued running, showed the message a couple more times, and finally went to the debugger.
Well, all those pop-ups are annoying, but after clicking "Don't show this message again" on the dialog, the Debugger perspective never comes up again. Even in a new workspace.
Let me say that again: now the debugger never appears and execution never stops. "Debug" is working exactly like "Run".
A) gone into the debugger Perspective and tried deleting all breakpoints and creating new ones.
B) gone to the breakpoint pane, right-clicked, and tried removing all triggers - there are none
C) after running the project as a JUnit stopped debugging, I tried debugging the file itself - same failure.
D) restarted the Eclipse
E) restarted the laptop
F) created a new workspace for the git project - both created/downloaded in new disk locations.
G) Preferences > Java > Compiler, "Add line number attributes..." is still checked.
No change in getting the debugger to appear during execution.
Oddly, after creating the new workspace that pop-up error only appears once when debugging the tests, but it should hit that breakpoint twice from different tests methods, like it did before it stopped working...
This is STS4/Eclipse Platform 4.11.0.v20190307-0500 running on Windows 10.
So who can tell me: what is the secret setting which got corrupted?
Or is a re-install/nuke the HD from orbit the only possible solution?
Powered by FUDForum
. Page generated in 0.06814 seconds