Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How can I embed ChromeBug to my XULRunner application.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
binglin zhong  
View profile  
 More options Aug 23 2011, 4:07 am
Newsgroups: mozilla.addons.chromebug
From: binglin zhong <binglin.zh...@gmail.com>
Date: Tue, 23 Aug 2011 01:07:08 -0700 (PDT)
Local: Tues, Aug 23 2011 4:07 am
Subject: How can I embed ChromeBug to my XULRunner application.
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
       + chrome...@johnjbarton.com
             - 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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »