Reputation: 121
Problem: the IntelliJ Debugger doesn't stop at any breakpoints in Java code.
Details: using version 2020.3. It was fine last week but it could be there was an update over the weekend that caused this problem.
What didn't work: Unmuting breakpoints, disabling then enabling breakpoints, restarting IntelliJ after Invalidating cache, deleting .idea folder.
Eventually I solved it. See solution below.
Upvotes: 5
Views: 4003
Reputation: 121
What worked for me was opening .idea/workspace.xml, finding the specific Run/Debug Configuration I'm trying to debug, then changing <DebugAllEnabled>false</DebugAllEnabled>
to <DebugAllEnabled>true</DebugAllEnabled>
.
Upvotes: 7