It's all about the answers!

Ask a question

Debugging the Jazz Web UI


Mark Victory (26635) | asked Jan 11 '08, 11:53 a.m.
JAZZ DEVELOPER
Hi All,

I'm fairly new to Jazz web development so I hope this question makes sense.....

When I debug my Jazz WebUI based application, I cannot figure out how to see the javascript for my pages/views in Firebug. I can see the javascript for my Application "class" but not for anything else.

Any ideas?

Thanks,
Mark

2 answers



permanent link
Richard Backhouse (6661) | answered Jan 11 '08, 1:28 p.m.
JAZZ DEVELOPER
Hi Mark,

If you want to be able to step through your javascript code you can add
debug=true to your URL.

e.g

http://localhost:8080/web/example?debug=true#action=jazz.viewPage&id=net.jazz.ajax.examples.TestPage1

This will result in a <script> tag for each module being added to the
html page and should allow tools such as firebug to see the module and
allow you to set break points etc. One caveat is that each javascript
module is downloaded individually and thus the page will load slower.

HTH

Richard


MVictory wrote:
Hi All,

I'm fairly new to Jazz web development so I hope this question makes
sense.....

When I debug my Jazz WebUI based application, I cannot figure out how
to see the javascript for my pages/views in Firebug. I can see the
javascript for my Application "class" but not for anything
else.

Any ideas?

Thanks,
Mark

permanent link
Mark Victory (26635) | answered Jan 11 '08, 1:37 p.m.
JAZZ DEVELOPER
Thanks Richard,

That worked GREAT.

You're the Man,
Mark

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.