iOS Question Reason for crashed APP

Nitin Joshi

Active Member
Licensed User
Thread is related to B4i APP.
When i clicked on button, APP gets crashed (completely closed, not even at background). I am not getting any message or information in log, so, is there way to know the reason?

By the way, for B4A it is working fine. I am using B4XPages.
 

Alexander Stolte

Expert
Licensed User
Longtime User
Does the button have code that it executes? then I would comment it out and try again. If it still crashes then I understand your question, but if not then you have clearly given too little information.
 
Upvote 0

Nitin Joshi

Active Member
Licensed User
@Erel, i could get logs however it was too hard for me to find the root cause from logs....
Meanwhile, i myself debugged the code and resolved the issue, thank you for your support.
 
Upvote 0

Nitin Joshi

Active Member
Licensed User
@Erel B4i APP was crashing because i want to close UDPSkt while page disappears. what could be the reason? by the way, its not happening for B4A.

UDP Skt code:
Sub Class_Globals
    Private Root As B4XView
    Private xui As XUI
    Dim UDPSkt As UDPSocket
End Sub

Private Sub B4XPage_Appear()
    UDPSkt.Initialize("UDP", 4211, 255)
End Sub


Private Sub B4XPage_Disappear
    UDPSkt.Close
End Sub
 
Upvote 0
Top