Runtime Error on. JavaScript Handler in Browser

Pi Digital sean at pidigital.co.uk
Mon Mar 23 11:32:11 EDT 2020


Hi

For these sort of errors in my code, while testing, I have them set in try...end try catchers and catch the error message. This gets output to a log which helps me see the message path taken to the error so I can pinpoint where the message was interrupted. This is especially useful for do ... as JavaScript runtime errors. 

Does the 836 in your error message help at all or is that only in reference to your js handler in the html?

All the best

Sean Cole
Pi Digital


> On 22 Mar 2020, at 14:15, Sannyasin Brahmanathaswami via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> With Catalina I have RemoteDebugging Working…
> 
> even better I have AAGNetworkTracer and AAGNetworkTracerDashboard working…
> 
> awesome tools made by Andre! Can be used with  Community License, worth every penny
> 
> I enabled  for mobile testing.
> 
> On iOS, when I open the Lexicon (a local html5 “stack” that we run in a browser widget)
> 
> Whenever I hit a button on the HTML 5, layout, which triggers a JS handler in LC
> 
> I get a message on desktop  in
> 
> AAGNetworkTracerDashboard
> 
> {"type": "error","time": "3/22/20 3:55:41 AM","content": "863,0,0,runtime","line": "0"}
> 
> Strange thing, the JS handlers are called and function correctly in iOS every though I get the msg, there is no crash.
> 
> But on Android, I get no crash, but the JS handlers in LC are not called. For the user, the buttons appear non-responsive. They should go to an local SQLLite DB and return data that is fed into the browser widget. It stills happens on iOS but not on Android.
> 
> {"type": "error","time": "3/22/20 3:55:41 AM","content": "863,0,0,runtime","line": "0"}
> 
> How can I look up the error. It appear to be regression in the widget in the latest for of LC (dp 2 and 3… the same)
> 
> BR
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list