Dmytro
Dmytro

Reputation: 2319

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?

Upvotes: 0

Views: 676

Answers (2)

datalost
datalost

Reputation: 3773

rebuild project might solve the issue.

Upvotes: 1

Oussema Aroua
Oussema Aroua

Reputation: 5339

that is an invalid break point that shows when the breakpoint is set on a commented or non-executable line indicating that such breakpoint would not be hit.

Upvotes: 1

Related Questions