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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
Posts: 51
Registered: ‎10-22-2011
My Device: 9800
My Carrier: Telus

1.0.8 PB Web Inspector crashes app

When I enable enable the web inspector in 1.0.8 PB (a bit of a trick in itself), my WebWorks app crashes on startup.  Is there a known workaround to allow at least console log viewing?  Turning off web inspector allows the app to run but then debugging is harder.  

Contributor
Posts: 30
Registered: ‎02-04-2011
My Device: BB9900 & PlayBook16GB
My Carrier: Rogers

Re: 1.0.8 PB Web Inspector crashes app

I noticed that Web Inspector crashes the app while the browser is open. Enable Web Inspector, close the browser and launch the app. Works for me.

Developer
Posts: 51
Registered: ‎10-22-2011
My Device: 9800
My Carrier: Telus

Re: 1.0.8 PB Web Inspector crashes app

I've also noticed this seems to work much of the time.   I think there is still some underlying wierdness around enabling it and application restarts.    Finally gave in and embedded my own log viewer to avoid this bug.

Retired
Posts: 518
Registered: ‎07-18-2011
My Device: Bold
My Carrier: Rogers

Re: 1.0.8 PB Web Inspector crashes app

Hi Puzzling,

 

What do you mean by "enabling web inspector". For webworks apps all you need to do is compile wth "-d" and it should be done automatically. If you're referring to the browser then you can get a port conflict because on the PB unlike the phone WebWorks and Browser shared the 1337 port.



1.Please resolve your thread by clicking the "Accept as Solution" button below the post which solved your problem!
2. If any post helps you please click the button below the post(s)
Developer
Posts: 51
Registered: ‎10-22-2011
My Device: 9800
My Carrier: Telus

Re: 1.0.8 PB Web Inspector crashes app

Interesting.   My misunderstanding.   At some point I found I had to turn on web inspector in the browser for it to work in the app.  I just tried now (-d was always set) and it seems to work without it.