cancel
Showing results for 
Search instead for 
Did you mean: 

How to debug SAPUI5 code is IE10?

former_member182374
Active Contributor
0 Kudos

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?

Regards,

Omri

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

  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.
former_member182374
Active Contributor
0 Kudos

Thanks!

Simple answer to a simple question (-:

Answers (1)

Answers (1)

vijay_kumar49
Active Contributor
0 Kudos

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