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

debug=true and loading things in dojo.require

We noticed some of our code that does not work due to "Could not locate widget implementation for XXXX in dojo.widget registered to namespace dojo" starts to work when we use debug=true in the URI.

Code that has the above issue uses dojo.require() for all the widgets it needs. For some cases, if I move dojo.require for the missing widget into code that is loaded earlier (e.g. Workbench.js), the code starts to work without debug=true.

Any ideas?

0 votes



12 answers

Permanent link
John Barton at IBM Almaden has been working on a patch for Firebug so it can debug code in evals. You can find the experimental code at http://fireclipse.xucia.com/ FWIW, other debuggers like MSVC and Drosera can already handle this, to some extent, so another answer is to try it in IE.

All that said, I still find that debuggers, particularly Firebug, tend to miss exceptions from time to time.

0 votes


Permanent link
Adam,

Thanks for the headsup on this. Definitely has some great new features.

A word of warning to anyone who tries this though. I would suggest
disabling firebug for jazz.net as I have found that it makes the browser
unresponsive for quite some time.

Richard

apeller wrote:
John Barton at IBM Almaden has been working on a patch for Firebug so
it can debug code in evals. You can find the experimental code at
http://fireclipse.xucia.com/ FWIW, other debuggers like MSVC and
Drosera can already handle this, to some extent, so another answer is
to try it in IE.

All that said, I still find that debuggers, particularly Firebug, tend
to miss exceptions from time to time.

0 votes

1–15 items
page 2of 1 pagesof 2 pages

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,938

Question asked: Sep 04 '07, 11:55 a.m.

Question was seen: 14,870 times

Last updated: Sep 04 '07, 11:55 a.m.

Confirmation Cancel Confirm