Breakpoint problem

wl

Well-Known Member
Licensed User
Longtime User
Hello,

I had a breakpoint on a code line: when I reached in during debugging the code was stopped. But when I try to resume, the application did not continue.

I removed the breakpoint, cleaned the project and ran the app in debug mode again: the code still breaks at this line...

What could be wrong:

B4X:
Sub btnClear_Click
   Dim b As Button
   Dim f As FilterUIItem

   b = Sender
   f = b.Tag
   f.edtFilterSource.Text = ""
   f.edtFilterFrom.Text = ""
   f.edtFilterSubject.Text = ""
   f.edtFilterBody.Text = ""
End Sub

The breakpoint was on
B4X:
f = b.Tag
Thanks
 

wl

Well-Known Member
Licensed User
Longtime User
Thanks Klaus,

That was exactly the problem: it was a Java exception because of an incorrect cast. I was confused: it was not a breakpoint; but an exception... I found out by running in release mode...

Thanks again !
 
Upvote 0
Top