t="insert into sessions values (NULL, '" & dt & "','" & EditText1.Text & "')"
Log (t)
' Shows "insert into sessions values (NULL, '2022.08.18 12:35:13','test')"
Try
Tracker.sql1.ExecNonQuery (t)
Catch
Log (LastException.Message) ' Debugger does not get here
' Message is not logged
End Try
Dim cs As Cursor
' Activity freezes at the above line. But the error is in the sql.insert statement. If I omit the try ... catch it freezes after Tracker.sql1.ExecNonQuery (t)