venkman with XULrunner -- version problem?

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

venkman with XULrunner -- version problem?

gNeandr-3
  For an XULrunner app I have a setup to use Venkman as the JS debugger
and using FX as the base of XULrunner.

Basically it works with  Fx  version 3.0
but *_*not*_* with FX version 3.6

With both platforms Venkman starts, but with FX 3.6 it's not able to
open the JS file.
No JS files are shown with "Loaded Scripts", using the "Open Window" it
shows the XUL files, but selecting "Files" all JS files are shown, but
selecting any of them will open an alert:
"Firefox doesn't know how to open this address, because the protocol
(x-jsd) isn't associated with any program."

The whole setup is based on some works dated back to
http://tjlaurenzo.blogspot.com/2006/03/getting-dev-tools-working-with.html

The trick is to store "venkman-service.js" to the FX/components/ directory.
That makes it for FX 3.0, but NOT for FX3.6.

Any advice here?

Günter


Versions used:
-running Venkman version 0.9.87.4.
- Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.9.2.8)
Gecko/20100722 Firefox/3.6.8
- Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.9.0.8)
Gecko/2009032609 Firefox/3.0.8


_______________________________________________
dev-apps-js-debugger mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-js-debugger
Reply | Threaded
Open this post in threaded view
|

Re: venkman with XULrunner -- version problem?

John J Barton
gNeandr wrote:
>  For an XULrunner app I have a setup to use Venkman as the JS debugger
> and using FX as the base of XULrunner.

If by FX you mean Firefox, you should be able to use Chromebug in this
case. To try it you need to install Firebug 1.7a1 and Chromebug 1.7a1,
then run firefox.exe with -chromebug.  Chromeubug is basically a XUL app
running on Firefox base.

jjb
_______________________________________________
dev-apps-js-debugger mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-js-debugger
Reply | Threaded
Open this post in threaded view
|

Re: venkman with XULrunner -- version problem?

gNeandr-3
   [10.09.2010 22:46]    »John J Barton« wrote:

> gNeandr wrote:
>>  For an XULrunner app I have a setup to use Venkman as the JS
>> debugger and using FX as the base of XULrunner.
>
> If by FX you mean Firefox, you should be able to use Chromebug in this
> case. To try it you need to install Firebug 1.7a1 and Chromebug 1.7a1,
> then run firefox.exe with -chromebug.  Chromeubug is basically a XUL
> app running on Firefox base.
>
> jjb
Thanks John,
not sure it helps. First yes Fx=Firefox, but with my XULrunner app I
have to start it with something like:

firefox -app ../application.ini. So how to start XULrunner (which is the
-app for AFAIK) and not to start Firefox?

At the moment I'm loading Venkman with a 'venkman.manifest' beside other
definitions. And as said, that concept does it well with FX 3.0x.
I think there is an incompatibility between the 'venkman-service.js'
coming from the Venkman version 0.9.87.4. and Firefox 3.6.x.

Any idea?

gW


_______________________________________________
dev-apps-js-debugger mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-js-debugger
Reply | Threaded
Open this post in threaded view
|

Re: venkman with XULrunner -- version problem?

John J Barton
gNeandr wrote:

>   [10.09.2010 22:46]    »John J Barton« wrote:
>> gNeandr wrote:
>>>  For an XULrunner app I have a setup to use Venkman as the JS
>>> debugger and using FX as the base of XULrunner.
>>
>> If by FX you mean Firefox, you should be able to use Chromebug in this
>> case. To try it you need to install Firebug 1.7a1 and Chromebug 1.7a1,
>> then run firefox.exe with -chromebug.  Chromeubug is basically a XUL
>> app running on Firefox base.
>>
>> jjb
> Thanks John,
> not sure it helps. First yes Fx=Firefox, but with my XULrunner app I
> have to start it with something like:
>
> firefox -app ../application.ini. So how to start XULrunner (which is the
> -app for AFAIK) and not to start Firefox?

I guess if you supply -app then you start XULRunner. Just like if you
supply -chromebug you start Chromebug. I don't know any particular
reason why both can't run, but then I've not tried it.

>
> At the moment I'm loading Venkman with a 'venkman.manifest' beside other
> definitions. And as said, that concept does it well with FX 3.0x.
> I think there is an incompatibility between the 'venkman-service.js'
> coming from the Venkman version 0.9.87.4. and Firefox 3.6.x.

I guess your problem is that the platform removed the ability to use
jsd.initAtStartup, and perhaps the fixes for this change do not apply
somehow to XULRunner. You can try
https://bugzilla.mozilla.org/show_bug.cgi?id=480765

jjb


>
> Any idea?
>
> gW
>
>
_______________________________________________
dev-apps-js-debugger mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-js-debugger
Reply | Threaded
Open this post in threaded view
|

Re: venkman with XULrunner -- version problem?

Gijs Kruitbosch ("Hannibal")
In reply to this post by gNeandr-3
Why don't you just install the latest version of Venkman from the add-ons
dialog? It'll install into xulrunner, as it specifies platform compatibility.

~ Gijs

On 10/09/2010 14:36 PM, gNeandr wrote:

> For an XULrunner app I have a setup to use Venkman as the JS debugger and using
> FX as the base of XULrunner.
>
> Basically it works with Fx version 3.0
> but *_*not*_* with FX version 3.6
>
> With both platforms Venkman starts, but with FX 3.6 it's not able to open the JS
> file.
> No JS files are shown with "Loaded Scripts", using the "Open Window" it shows
> the XUL files, but selecting "Files" all JS files are shown, but selecting any
> of them will open an alert:
> "Firefox doesn't know how to open this address, because the protocol (x-jsd)
> isn't associated with any program."
>
> The whole setup is based on some works dated back to
> http://tjlaurenzo.blogspot.com/2006/03/getting-dev-tools-working-with.html
>
> The trick is to store "venkman-service.js" to the FX/components/ directory.
> That makes it for FX 3.0, but NOT for FX3.6.
>
> Any advice here?
>
> Günter
>
>
> Versions used:
> -running Venkman version 0.9.87.4.
> - Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.9.2.8) Gecko/20100722
> Firefox/3.6.8
> - Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.9.0.8) Gecko/2009032609
> Firefox/3.0.8
>
>

_______________________________________________
dev-apps-js-debugger mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-js-debugger
Reply | Threaded
Open this post in threaded view
|

Re: venkman with XULrunner -- version problem?

gNeandr-3
  Gijs,
I don't have & want to have the extension manager loaded with my app.
All additional stuff I need is the console2 and for dev purpose a JS
debugger. And those parts can be loaded with the JAR's and manifest
definitions.

It was great with FX 3.0.x and doesn't run with 3.6
For the moment I'm using a FX3.0 base as the "development platform".
The app itself will not have problem with an updated FX .. AFAIS right now.

Günter


[11.09.2010 11:08]    »Gijs Kruitbosch« wrote:

> Why don't you just install the latest version of Venkman from the
> add-ons dialog? It'll install into xulrunner, as it specifies platform
> compatibility.
>
> ~ Gijs
>
> On 10/09/2010 14:36 PM, gNeandr wrote:
>> For an XULrunner app I have a setup to use Venkman as the JS debugger
>> and using
>> FX as the base of XULrunner.
>>
>> Basically it works with Fx version 3.0
>> but *_*not*_* with FX version 3.6
>>
>> With both platforms Venkman starts, but with FX 3.6 it's not able to
>> open the JS
>> file.
>> No JS files are shown with "Loaded Scripts", using the "Open Window"
>> it shows
>> the XUL files, but selecting "Files" all JS files are shown, but
>> selecting any
>> of them will open an alert:
>> "Firefox doesn't know how to open this address, because the protocol
>> (x-jsd)
>> isn't associated with any program."
>>
>> The whole setup is based on some works dated back to
>> http://tjlaurenzo.blogspot.com/2006/03/getting-dev-tools-working-with.html 
>>
>>
>> The trick is to store "venkman-service.js" to the FX/components/
>> directory.
>> That makes it for FX 3.0, but NOT for FX3.6.
>>
>> Any advice here?
>>
>> Günter
>>
>>
>> Versions used:
>> -running Venkman version 0.9.87.4.
>> - Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.9.2.8)
>> Gecko/20100722
>> Firefox/3.6.8
>> - Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.9.0.8)
>> Gecko/2009032609
>> Firefox/3.0.8
>>
>>
>

_______________________________________________
dev-apps-js-debugger mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-js-debugger