cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 : Console Log of iPhone or Android

Former Member
0 Kudos

Dear All,

When I test an UI5 application in the Desktop, I can debug the JS code and check on the Console Log by using the Right Click and Selecting the Inspect Option.

Is there a similar way to get the console logs of an UI5 Application in a iPhone Device.

Help would be much appreciable.

Thanks and Regards

Jegadeesan U

Accepted Solutions (0)

Answers (1)

Answers (1)

gill367
Active Contributor
0 Kudos

HI

If you use SAP Fiori client application, you will get the logs there.

in the settings you can set the level to debug and then full details will be logged.

Regards,

Sarbjeet Singh

Former Member
0 Kudos

Hi Sarbjeet,

Thanks for the response. But we are not using Fiori Client, but Airwatch MDM to access the application.

Any possibility through the same.

The issue which I am facing is that, on iPhone Save Button on a UI5 Application is not working. Seem like the event isn't executed. So I wanted to check the log if any of the statement has gone into error. There is no issue encountered in Desktop r Android devices.

Thanks and Regards

Jegadeesan U

gill367
Active Contributor
0 Kudos

Hi,

For debugging in the airwatch browser, there is no console log available.

You need to check it via java script alerts. Where ever you are getting error, you need to use try catch

JavaScript Errors Try Catch Throw

This is the only option available for this.

In the end after the investigation, you may get the error "dom exception 23 - timed out".

Put the statement which is causing timeout inside setTimeout method. It should resolve the issue.

Window setTimeout() Method

Regards,

Sarbjeet Singh