bogdanc Active Member Licensed User Longtime User Feb 5, 2016 #1 Hi All! How to prevent to app crash. I reading some values from website. I use a timer to have some intervals of readings. But I getting crash: Timer1_tick (java line....) Ho to prevent crash of app?
Hi All! How to prevent to app crash. I reading some values from website. I use a timer to have some intervals of readings. But I getting crash: Timer1_tick (java line....) Ho to prevent crash of app?
Daestrum Expert Licensed User Longtime User Feb 5, 2016 #2 You could use a try ... catch block B4X: Try ' do what you want here they may cause a crash Catch Log("it broke") End Try ... Upvote 0
You could use a try ... catch block B4X: Try ' do what you want here they may cause a crash Catch Log("it broke") End Try ...
bogdanc Active Member Licensed User Longtime User Feb 5, 2016 #3 Daestrum said: You could use a try ... catch block B4X: Try ' do what you want here they may cause a crash Catch Log("it broke") End Try ... Click to expand... This working fine for me. Thank You! Upvote 0
Daestrum said: You could use a try ... catch block B4X: Try ' do what you want here they may cause a crash Catch Log("it broke") End Try ... Click to expand... This working fine for me. Thank You!
C Chicao99 Member Licensed User Longtime User Jan 9, 2023 #4 Is there any way to create a routine to be executed before crashing no matter where it happened? Upvote 0
DonManfred Expert Licensed User Longtime User Jan 9, 2023 #5 Chicao99 said: Is there any way to create a routine to be executed before crashing no matter where it happened? Click to expand... You should always create a new thread for your issues. Posting to an old thread is a mistake. Especially in an 6 years old thread. Upvote 0
Chicao99 said: Is there any way to create a routine to be executed before crashing no matter where it happened? Click to expand... You should always create a new thread for your issues. Posting to an old thread is a mistake. Especially in an 6 years old thread.