user982687
user982687

Reputation: 335

Breakpoints not Working in Android Studio 3.3

After noticing that some breakpoints are not getting hit, I found this post that answers why:

Breakpoints not working on Android Studio 3.3

I don't recall this happening prior to Android Studio 3.3. Is there any way to stop this behavior so that breakpoints will get hit on conditional statements?

Upvotes: 6

Views: 5004

Answers (3)

user2301281
user2301281

Reputation: 787

Rebuild solved my problem.

clean & rebuild

Invalidates caches/restart if necessary

Upvotes: 3

Roberto Petrilli
Roberto Petrilli

Reputation: 857

In my case I fixed the problem by updating Android Studio to the latest version 4.0.1.

Upvotes: 0

JustKhit
JustKhit

Reputation: 407

Found here setting minifyEnabled false in the debug build is the best practice.

I just change minifyEnabled in build.grandle to 'false' on debug buildTypes and it works!

Upvotes: 4

Related Questions