Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Debugging the Jazz Web UI

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

0 votes



2 answers

Permanent link
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

0 votes


Permanent link
Thanks Richard,

That worked GREAT.

You're the Man,
Mark

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,952

Question asked: Jan 11 '08, 11:53 a.m.

Question was seen: 7,538 times

Last updated: Jan 11 '08, 11:53 a.m.

Confirmation Cancel Confirm