Page 1 of 1

LANSA Mobile tracing and debugging

Posted: Tue Oct 03, 2017 4:51 pm
by atostaine
I’m looking for info on how to Debug or trace LANSA mobile.

I saw some info on this site about logging but I wasn’t successful. Is there a link to the docs or anything else?

I’m trying to save a base64 image and I’m not seeing an image. I need to see what’s happening.

Thanks

Re: LANSA Mobile tracing and debugging

Posted: Wed Oct 04, 2017 9:31 am
by soa
Getting the trace panel to work in LANSA mobile requires a reuseable part and a widget that LANSA should be able to supply (Mark). This will hopefully be properly integrated in future releases.

Re: LANSA Mobile tracing and debugging

Posted: Wed Oct 04, 2017 11:39 am
by tsupartono
For information on how to output to LANSA Mobile's Developer Console, have a look at this thread:
viewtopic.php?f=3&t=1106

Do you use any LANSA Mobile's device specific features, such as barcode scanning? (Do you use any of the xDevice.... widgets)?
If you don't, you can run your webpage directly on Chrome on your PC, and use #SYS_WEB.Console.Log method to output to the browser console.
If you are not sure, can you show us the fragment of code you are trying to debug?