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: 382
Registered: ‎05-19-2008
My Device: BlackBerry Torch
My Carrier: AT&T

Debugging with custom Widget in Ripple?

I feel like I'm asking a stupid question, but figure I ought to ask to be sure. Can you run a webworks app in Ripple if it is using a custom JS widget extension?

 

It looks like I've got to make an extension to expose PersistentStore, but I just know that when I do, I'll never be able to test it again in a real debugger.

Bill
-------------------------------------------
Check out my book on BlackBerry Development for Java.
And my other really really old book
My Apps: FlashKids
Highlighted
Developer
Posts: 84
Registered: ‎06-26-2008
My Device: Not Specified

Re: Debugging with custom Widget in Ripple?

you can detect in your app that it's executed but ripple if check the variable window.tinyHippos. Then you could implement a mock object of the webwork extension to test your app.

Developer
Posts: 382
Registered: ‎05-19-2008
My Device: BlackBerry Torch
My Carrier: AT&T

Re: Debugging with custom Widget in Ripple?

OK, I agree thats possible but it doesn't help me to actually DEBUG my extension, which is the whole point. 

 

It seems the ONLY way to debug an extension is to use the eclipse webworks install (which is going away real soon) and install the Java plugin OTA (which is also going away). You have to start with the WebWorks package though because there isn't a way to install the eclipse plugin OTA that I know of.

 

Is there something else or is the landscape really that bleak for custom webworks widgets? 

Bill
-------------------------------------------
Check out my book on BlackBerry Development for Java.
And my other really really old book
My Apps: FlashKids