Android Question When b4a application crash

rossati

Active Member
Licensed User
Longtime User
Hello

some of my applications when they break show a msgbx indicating abnormal end, iinstead of showing the line of Java code where the error occurred.
As this behavior is controlled?
Thanks
John Rossati
 

rossati

Active Member
Licensed User
Longtime User
It is a work in progress at early stage.
 

Attachments

  • Exploitateurs.zip
    14.2 KB · Views: 193
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
1. Which version of B4A are you using?
2. Make sure that the Starter service is there and that Application_Error is implemented:
B4X:
'Return true to allow the OS default exceptions handler to handle the uncaught exception.
Sub Application_Error (Error As Exception, StackTrace As String) As Boolean
   Return True
End Sub
 
Upvote 0
Top