The Web Inspector tool is a debugging and profiling development tool for web content that is included as part of the WebKit rendering engine.
Note: Web Inspector support is not available if device encryption is enabled (for Smartphone device software).
For content loaded in the BlackBerry Tablet OS browser:
For content loaded in the BlackBerry 7 browser:
* If you do not see the "Enable Web Inspector" menu option, open the browser Options screen and enable the "Enable Developer Tools" checkbox.
For content loaded in a BlackBerry® WebWorks™ application:
You can use Web Inspector to debug and profile a BlackBerry WebWorks application running on a live device.
bbwp.exe c:\sandbox\myApp\myApp.zip –d
2. When building your application using the WebWorks SDK for Smartphone, provide the /d command line argument. This will automatically enable Web inspector connectivity for your application running on a BlackBerry Smartphone.
bbwp.exe c:\sandbox\myApp\myApp.zip /d
When you first launch your compiled application, you will be prompted with the address and IP address of your BlackBerry Smartphone that you will need to use Web Inspector:
Note: You do NOT need to enable Web Inspector from the browser in order to inspect a BlackBerry WebWorks application. These are independent instances of Web Inspector and it is important to recognize that enabling one does not enable the other.
Web Inspector connecting to the BlackBerry browser or your WebWorks application:
Measuring page load times and sizes using Web Inspector:
For content loaded in a BlackBerry WebWorks application (Tablet OS):
You can use Web Inspector to debug and profile a BlackBerry WebWorks application running on a live device.