Dear All, I'm working a project base on the XULRunner,  and now I want
to embed ChromeBug to my application for debugging the pages, just
like embed the DOM inspector to XULRunner (
https://developer.mozilla.org/en/XULRunner_tips#DOM_Inspector).

Actually, I have unzip the 'chromebug-1.8.0a2.xpi' and copy the
related source file to my XULRunner folder:
+ myApp
   + chrome
       + content
            + Chromebug
                   ....(the source files is same as the 'Cbromebug'
folder in chromebug package)
            -  main.xul
       + fb4cb
            ....(the source files is same as the 'fb4cb' folder in
chromebug package )
       + icons
       + local
       + skin
   + components
        - chromebug_command_line.js
        - chromebug-statup-observer.js
   + defaults
        + preferences
             - chromebug.js
   + extensions
        + [email protected]
              - install.rdf
   -  application.ini


and then I have written a function to launch the chromebug in my
'main.xul':

function launchChromebug() {
      window.open("chrome://myApp/content/Chromebug/Chromebug.xul",
"", "chrome");
}


The problem is: when the application call this method, the Chromebug
will launch, it seems the chromebug is not any function, it just shows
somt text and there is a title of the text:
Chromebug: XUL chrome development evolved...


Appreciated for your any comments, Thank you very much in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en.

Reply via email to