Web Inspector

Web Inspector is a built-in feature of the BlackBerry® Browser that allows developers to inspect and debug their web source code. Web Inspector allows developers to inspect web content that is displayed through the browser, or in standalone applications that use the browser engine, such as BlackBerry® WebWorks™ applications. Web developers can use Web Inspector to manipulate the DOM, edit and debug JavaScript® code, analyze resource requests, and audit the performance of your web content and web applications in near real-time.

Developers can access Web Inspector functionality using a BlackBerry smartphone or BlackBerry tablet, or using a BlackBerry Smartphone Simulator or BlackBerry Tablet Simulator.

The BlackBerry Browser uses a client-server architecture to make Web Inspector functionality available to developers. The BlackBerry Browser acts as a web server. It serves the page over HTTP over a Wi-Fi® connection; developers inspect the content remotely on a desktop browser. Developers can use any WebKit-based desktop browser on the same Wi-Fi network to navigate to the IP address and port number used by the BlackBerry Browser and begin inspecting the code.

By default, Web Inspector is disabled in the browser. To use the Web Inspector, it must be in the BlackBerry Browser options. Once Web Inspector is enabled, the browser provides the IP address and port number it will use to serve the content.

Was this information helpful? Send us your comments.