Skip to Content

How to debug SAPUI5 code is IE10?

Hello Experts,

Basically, I'm using Chrome Developer Tools in order to develop and debug applications in SAPUI5.

However, I have some applications that should run on IE10 and I need to debug on it.

Since the load of the resources is dynamic how can I set breakpoints in IE10? (the source is not available to set breakpoints...).

Also, when scripts are loaded they have names like ''DynamicScriptXX".

For now I've found a primitive way of doing it: I write some arbitrary string in my code and IE10 stops because of error and then I debug.

I'm sure there is a 'normal' way to set debug, so how to debug in IE?



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Dec 10, 2015 at 07:27 AM


    1. Put your debugger; line wherever you need it to be in your javascript code.
    2. Open up IE and BEFORE loading your page and press F12 to bring up the Dev Tools
    3. In the Dev Tools, click on the Script tab and press the Start Debugging button. This will make the Dev tools aware of any breakpoints you have specified.
    4. Load up your webpage and the Dev Tool should pick up the debugger statement.
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 10, 2015 at 07:36 AM

    Please refer this document . it may be useful SAPUI5 SDK - Demo Kit

    Script Debugging Using the Internet Explorer Developer Tools

    Kindly let me know if you need any more information

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.