W wl Well-Known Member Licensed User Longtime User Jul 4, 2012 #1 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: Code: Copy 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 Code: Copy f = b.Tag Thanks
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: Code: Copy 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 Code: Copy f = b.Tag Thanks
klaus Expert Licensed User Longtime User Jul 4, 2012 #2 Did you set the Tag property to a FilterUIItem object ? What error message do you get ? Best regards. Upvote 0
Did you set the Tag property to a FilterUIItem object ? What error message do you get ? Best regards.
W wl Well-Known Member Licensed User Longtime User Jul 4, 2012 #3 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
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 !