Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Developer
Posts: 84
Registered: ‎06-26-2008
My Device: Not Specified

Blackberry Web Plugin Error Console developing Widgets

I have a very bad response of the Emulator console when i develop widgets. Some times errors doesn't come with full javascript strack trace, other times doesn't appear or come very late.

 

is it the commont behaviour?

 

By the way i tend to develop javascript with firefox and firebug (who not¡¡), one of the things that help me a lot is write from javascript on the firebug console. Is there any way to do this with widget+blackberry emulator?

 

 

Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Blackberry Web Plugin Error Console developing Widgets

Hi lasterra,

 

I'm not sure I'm clear on your question.  Are you reporting that the debugging of the web content is slow, or when an JavaScript error is thrown all the stack trace information isn't displayed?

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Developer
Posts: 84
Registered: ‎06-26-2008
My Device: Not Specified

Re: Blackberry Web Plugin Error Console developing Widgets

second one... but it's also true that js debuging is very slow...

Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Blackberry Web Plugin Error Console developing Widgets

Can you post up your Version of Windows (XP/Vista/Win7 32/64 bit)?  I'll have our Eclipse tooling team take a look.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Developer
Posts: 84
Registered: ‎06-26-2008
My Device: Not Specified

Re: Blackberry Web Plugin Error Console developing Widgets

Sorry, i'm using windows vista, 32bits, with a clean installation of eclipse galileo with blackberry web 2.0 and widget 1.0 with its default simulators. I'm normally using bold9700

 

 

Developer
Posts: 84
Registered: ‎06-26-2008
My Device: Not Specified

Re: Blackberry Web Plugin Error Console developing Widgets

I discover something that could give a clue to the dev team.

 

I use prototypejs to develop Object Oriented JS code. It looks like when i call to a missing operation of one of this objects... the debugger take a lot time to show de error.

 

var o = Class.create({

   initialize: function (){},

   operation: function(msg){alert(msg);}

})

 

o.operation('test');

o.missingoperation();<-- this kind of errors are the ones that take a lot of time to be showed

Developer
Posts: 84
Registered: ‎06-26-2008
My Device: Not Specified

Re: Blackberry Web Plugin Error Console developing Widgets

It looks like storm2 simulator response is better than bold2 simulator....it's also faster with js debugin..