Search code examples
androidandroid-studiodebuggingandroid-debug

Android Studio wrong breakpoints


I try to debug some code, but Android Studio debugger behaves strange today.

It accepts breakpoints like randomly. Where there is no executable code preview sometimes shows there is. And for executable lines preview says that the code is not executable.

enter image description here

I tried to sync, clean, rebuild, invalidate cashes/restart, but notheng had effect.

Has someone faced this problem before and whta is the solution?


Solution

  • rebuild project might solve the issue.