M manuel-r Member Licensed User Longtime User Dec 22, 2015 #1 Hi @all Is it possible to redirect the log output in debug mode to a file on the device? I've written an app and it seems that one of its services crashes in some cases (after some hours). I can't reproduce the error(s) and I have no any idea what's the problem. While the device is connected to my notebook with b4a i could see any errors (if them would happen) in debug mode. Unfortunatly I can't walk around with my notebook on the back So I would be happy if I could redirect the complete log to a file. Meanwhile I wrote any actions within the app to a file. But there I only can see what the app did right - not what happend and caused a crash
Hi @all Is it possible to redirect the log output in debug mode to a file on the device? I've written an app and it seems that one of its services crashes in some cases (after some hours). I can't reproduce the error(s) and I have no any idea what's the problem. While the device is connected to my notebook with b4a i could see any errors (if them would happen) in debug mode. Unfortunatly I can't walk around with my notebook on the back So I would be happy if I could redirect the complete log to a file. Meanwhile I wrote any actions within the app to a file. But there I only can see what the app did right - not what happend and caused a crash
eurojam Well-Known Member Licensed User Longtime User Dec 22, 2015 #2 Did you read this thread, it is more or less the same question and only a few hours/days ago: https://www.b4x.com/android/forum/threads/remote-logger.61567/#post-388688 May be it will help you... regards stefan Upvote 0
Did you read this thread, it is more or less the same question and only a few hours/days ago: https://www.b4x.com/android/forum/threads/remote-logger.61567/#post-388688 May be it will help you... regards stefan
M manuel-r Member Licensed User Longtime User Dec 22, 2015 #3 Thank you After I wrote my post I looked a around at the forum and with Google again. I think the 'Application_Error'-Sub is what I'm looking for. I'll try to play a bit with it. Upvote 0
Thank you After I wrote my post I looked a around at the forum and with Google again. I think the 'Application_Error'-Sub is what I'm looking for. I'll try to play a bit with it.