2

I have updated my Android studio to 3.3.1. Now, some breakpoints are shown red (The lines that have if, while ,...) without the tick and are not being hit.

enter image description here

(line 67)

Your help would be appreciated.

Farid Ala
  • 668
  • 1
  • 12
  • 30

3 Answers3

1

Try to add a blank line (or two) before the IF.

0

Try File>Invalidate cashes/Restart

Kourosh
  • 308
  • 5
  • 12
  • Thanks Kourosh, I did what you said, still not working. Actually I think there is some problem with Androis Studio 3.3.1 (Windows 64bit) – Farid Ala Feb 12 '19 at 09:22
  • I think you should open another project to see if the problem is with your project or Android Studio. try Ctrl + Shift + F8 shortcut to remove all breakpoints. – Kourosh Feb 12 '19 at 09:41
0

I try to adding blank line before the breakpoint but not worked.
Instead I write a dummy line code, like:
Log.v("Breakpoints", "are dumb");
run the code again.An now the tick is shown and breakpoint get hit.

Mohammad
  • 69
  • 10