Android Question Breakpoints do not stop on empty lines ?

MitchBu

Well-Known Member
Licensed User
Longtime User
I just tried to put breakpoints in my code on an empty line, and they did not work.

Then I added a log() on the line where the breakpoint was, and it worked.

Apparently, for a breakpoint to halt execution, it has to be set on a line where there is an instruction.

Is this intended ?
 

JohnC

Expert
Licensed User
Longtime User
Yes
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…