Opened 9 years ago

Closed 9 years ago

#16619 closed defect (invalid)

Errors when firebug is activated

Reported by: vihugarcia Owned by: vihugarcia
Priority: undecided Milestone: tbd
Component: General Version: 1.8.3
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

I'm beginning to learn Dojo, and tried an example from de Documentation page. When Firebug is deactivated, the page loads fine and behaves as expected. But when Firebug is active, the page doesn´t load corectly. This is the code:

<html lang="en">
		<meta charset="utf-8">
		<title>Demo: dojoConfig</title>		
		<link rel="stylesheet" href="js/dojo/dijit/themes/claro/claro.css" media="screen">
			#dialog { min-width: 200px; }
	<body class="claro">
		<h1>Demo: dojo/_base/Config</h1>
		<div id="dialog" data-dojo-type="dijit.Dialog" data-dojo-props="title: 'dojo/_base/_config'"></div>
			dojoConfig = {
				has: {
					"dojo-firebug": true
				parseOnLoad: false,
				baseUrl: "js",
				isDebug: true, // enables debug
				async: true, // enables AMD loader
				packages: [
						"name": "dojo",
						"location": "dojo/dojo"
						"name": "dijit",
						"location": "dojo/dijit"
						"name": "my",
						"location": "myWidgets"
		<script src="js/dojo/dojo/dojo.js"></script>
		// Require the registry, parser, Dialog, and wait for domReady
		require(["dijit/registry", "dojo/parser", "dojo/json", "dojo/_base/config", "dijit/Dialog","dojo/domReady!"]
		, function(registry, parser, JSON, config) {
			// Explicitly parse the page
			// Find the dialog
			var dialog = registry.byId("dialog");
			// Set the content equal to what dojo.config is
			dialog.set("content", "<pre>" + JSON.stringify(config, true) + "</pre>");
			// Show the dialog;

The errors are in the atached file. Thanks!

Attachments (1)

Errors when firebug is activated.docx (208.7 KB) - added by vihugarcia 9 years ago.
Error output from firebug

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by vihugarcia

Error output from firebug

comment:1 Changed 9 years ago by bill

Description: modified (diff)
Owner: set to vihugarcia
Status: newpending

It works for me.

Probably you should get rid of that

has: {
"dojo-firebug": true

I suspect it's for firebug-lite, not the actual firebug.

If not that, then you need to use the debugger to figure out what's going wrong. In the script tab drop down try setting "track throw catch".

comment:2 Changed 9 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.