Semen Matusovskiy Well-Known Member Licensed User Mar 9, 2019 #1 Hi, guys -- I followed instructions in https://www.b4x.com/android/forum/threads/crashlytics-crash-reports.87510/ and decided to test a sample in emulator Code: Starter.CL.CLog("log message 1 ...") ... Starter.CL.CLog("log message 2 ...") Dim i As Int = "sdkljkljkljfsdf" I ran many times without recompiling. Then after half an hour I looked results and found: 1) some crashes are missing. Strange, but Ok 2) Sometimes the log is not full. For some crashes the log was empty or included first message only. Why ? Do we need to make delays or something like this ?
Hi, guys -- I followed instructions in https://www.b4x.com/android/forum/threads/crashlytics-crash-reports.87510/ and decided to test a sample in emulator Code: Starter.CL.CLog("log message 1 ...") ... Starter.CL.CLog("log message 2 ...") Dim i As Int = "sdkljkljkljfsdf" I ran many times without recompiling. Then after half an hour I looked results and found: 1) some crashes are missing. Strange, but Ok 2) Sometimes the log is not full. For some crashes the log was empty or included first message only. Why ? Do we need to make delays or something like this ?
Erel B4X founder Staff member Licensed User Longtime User Mar 10, 2019 #2 Logging is handled by Crashlytics SDK. You are not expected to do anything special. Upvote 0
Semen Matusovskiy Well-Known Member Licensed User Mar 18, 2019 #3 Coming back ... I made an example with minimum code (attached), using https://www.b4x.com/android/forum/threads/crashlytics-crash-reports.87510/ New experiments confirmed previous. 1) some crashes are missing Why ? And how to prevent ? 2) CLog works and I can see results in logs of crashes. But I am also interesting to see output without crashes. Typical situation Try - Catch. In Catch I execute CLog. There is no crash. Where to see results in similar cases ? Attachments test.zip test.zip 10.8 KB · Views: 452 Upvote 0
Coming back ... I made an example with minimum code (attached), using https://www.b4x.com/android/forum/threads/crashlytics-crash-reports.87510/ New experiments confirmed previous. 1) some crashes are missing Why ? And how to prevent ? 2) CLog works and I can see results in logs of crashes. But I am also interesting to see output without crashes. Typical situation Try - Catch. In Catch I execute CLog. There is no crash. Where to see results in similar cases ?
Erel B4X founder Staff member Licensed User Longtime User Mar 19, 2019 #4 1) The instructions are based on Crashlytics instructions. Crashes are handled by Crashlytics service. There is nothing that you can do if some crashes are missing. 2) I don't think that it is possible to see the logs when there is no crash. Upvote 0
1) The instructions are based on Crashlytics instructions. Crashes are handled by Crashlytics service. There is nothing that you can do if some crashes are missing. 2) I don't think that it is possible to see the logs when there is no crash.