on 03-19-2014 1:49 PM
Hi there,
SAPUI5 packages both minified JavaScript files and full source debug JavaScript files (with comments) into the release version. Depending on how you load the SAPUI5 library, the minified or the -Dbg.js files will be loaded.
It would be interesting to know, what tool you use to generate the minified files our of the -Dbg files. Do you use some kind of batch processing? Is it a freeware/open source tool?
Regards
Tobias
YUI Compressor, command line. refresh in eclipse , manual ADT upload after that
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
http://idiotechie.com/how-to-use-cmd-prompt-inside-eclipse/
You only have to Refresh manually and submit in ADT (if you use one)
I found a solution that works. I created a .bat file for processing every single file.
The problem is, that the files don't have a file mask of *-dbg.js
Some examples:
SampleFile-dbg.js
SampleView-dbg.controller.js
SampleView-dbg.view.js
SampleButtons-dbg.fragment.js
However, I found a solution that works for my workspace (no Eclipse).
Regards
Tobias
Hello Jason,
thank you for your reply,
but how can I use these files to debug?
for example I access the application and open chrome debug tool and what else??
I notice these files contains the same code as the original ones, but I could not go further than that.
looking forward to hearing from you.
Hi Marcos,
You need to enable debug mode to use the -dbg files, you can either add sap-ui-debug= true to the url or set via the SAPUI5 diagnostics screen (CTRL+SHIFT+ALT+S) and click debug on under the Technical information tab.
https://sapui5.hana.ondemand.com/sdk/#docs/guide/c9b0f8cca852443f9b8d3bf8ba5626ab.html
https://sapui5.hana.ondemand.com/sdk/#docs/guide/6ec18e80b0ce47f290bc2645b0cc86e6.html
Regards,
Jason
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.