Opened 14 years ago

Closed 14 years ago

Last modified 12 years ago

#482 closed enhancement (fixed)

debugAtAllCosts working with user namespaces

Reported by: Morris Johns Owned by: Alex Russell
Priority: low Milestone:
Component: General Version: 0.3
Keywords: debugAtAllCosts custom widget Cc:
Blocked By: Blocking:

Description

Patch to fix debugAtAllCosts so it works even if you use registerWidgetPackage() for your own package.

Also added a parameter so you can re-enable the auto-loading of dojo.require'd files (Parameter is an ugly string, but it works!).

Modified so if you use dojo.hostenv.writeIncludes() more than once, it no longer writes a duplicate copy of all the script tags already written (faster loading!).

Added a test file for user defined package with debugging turned on (attached).

I have put the notes about the debugAtAllCosts feature and using inside the attached test page.

Attachments (4)

test_Custom_Widget_Debugging.html (3.7 KB) - added by Morris Johns 14 years ago.
Test file - dojo estswidget est_Custom_Widget_Debugging.html
browser_debug.js (4.2 KB) - added by Morris Johns 14 years ago.
Changed file (complete just in case not merged for a while - change made against rev 2556)
browser_debug.patch (1.7 KB) - added by Morris Johns 14 years ago.
Patch to dojo/src/browser_debug.js
ShortTest.html (709 bytes) - added by Morris Johns 14 years ago.
Test file to repeat the problem

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by Morris Johns

Test file - dojo estswidget est_Custom_Widget_Debugging.html

Changed 14 years ago by Morris Johns

Attachment: browser_debug.js added

Changed file (complete just in case not merged for a while - change made against rev 2556)

Changed 14 years ago by Morris Johns

Attachment: browser_debug.patch added

Patch to dojo/src/browser_debug.js

Changed 14 years ago by Morris Johns

Attachment: ShortTest.html added

Test file to repeat the problem

comment:1 Changed 14 years ago by bill

Milestone: 0.3release
Resolution: fixed
Status: newclosed

OK, this was basically fixed in checkin #3337, although that doesn't allow the modules loaded by dojo.require() in the content panes to be debugged.

comment:2 Changed 12 years ago by (none)

Milestone: 0.3release

Milestone 0.3release deleted

Note: See TracTickets for help on using tickets.