It's still early for me, and I may have insufficient levels of caffeine in my body at this point, but this is making my head hurt. I'm trying to test some logging I added to the Starter service's Application_Error block. Being the clever person I am, I thought I'd just add a quick statement into an activity (not inside of any try/catch block) that would surely throw a runtime error:
I start the program up (release build, obfuscated), and this is what I see on the log output:
Should I apply for a Nobel prize in mathematics for solving "i", or am I just being exceptionally dense this morning?
B4X:
Dim piVal3 As Int
piVal3 = 1 / 0
Log("value is: " & piVal3)
B4X:
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = true **
** Activity (actinitialize) Create, isFirst = true **
** Activity (actinitialize) Resume **
*** Service (httputils2service) Create ***
** Service (httputils2service) Start **
** Activity (actinitialize) Pause, UserClosed = true **
** Activity (actlogin) Create, isFirst = true **
** Activity (actlogin) Resume **
Mqtt Connected
** Activity (actlogin) Pause, UserClosed = true **
** Activity (actmainmenu) Create, isFirst = true **
** Activity (actmainmenu) Resume **
value is: 2147483647