Debugging
Eventually, you're bound to run into issues. With some luck, the problem is simply a missing semicolon. Other times, you might come across something that's really broken. Here are some ways to more easily solve your problem.
JavaScript validation
Before you run your code, you should be fairly confident that it will run. JSLint is a great tool for validating code. Depending on which HTML/text editor you're using, there is likely a JSLint plug-in that you can leverage as well. Running JSLint will pick out the most common errors for you, including syntax or formatting.
Web Inspector
If you have developed a web application for desktop computers, chances are you've come across some form of Web Inspector tool to let you examine the source code as it runs. As of BlackBerry 7 (and the BlackBerry Tablet OS), this functionality is also available for BlackBerry WebWorks applications. See Using Web Inspector for details on using the Web Inspector.
This functionality is also available from within Ripple by right-clicking the background space and launching the Inspect tool.
Reporting bugs
If you find a bug, you can report it at the appropriate site below:
If you have feedback regarding your experience with BlackBerry WebWorks and jQuery, visit the Web and WebWorks Development forums to share your insight or see what others are saying.
Last modified: 2012-11-28