Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
331 views
in Technique[技术] by (71.8m points)

java - Breakpoints not hit in IntelliJ 2020.3

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.

question from:https://stackoverflow.com/questions/65892036/breakpoints-not-hit-in-intellij-2020-3

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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>.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...