03-24-2014 01:42 PM
I hope I'll get some answers. I'm not a big fan of BB from my personal experience with Playbook and customer service. Since my organization uses BB's, I'm here asking questions.
I'm running and modifying the WebWorks Samples. I'm installing them on BB 10 device and testing. I've enabled WebInspector but when the application doesn't work, I'm expecting to see some error message but I don't see them. Where and what the console.log. But I don't see this. I'm using the WebWorks web based tool that I downloaded from BB site to biuld the application. I'm not building app using command line.
Thanks for you help.
Solved! Go to Solution.
03-26-2014 03:42 PM
03-27-2014 10:07 AM
I'm using BB Z10 and OS ver is 10.2.1.2102. I'm building the app in debug mode, so that I can see errors if any. I generally click on Build and Install button on Web Works and the target is the device. I'm not using the simulator.
In Web Works interface under the project, I see 3 sections - Configurations, Plugins and Build. Do I need to select anything specific under Configuration section?
When I try to launch the app from the device, I see a pop-up titled "Web Inspector Enabled" and it shows me ip4 and ip6 with OK button. There are no tabs. Don't know where are Console and Sources tab. Once I click on OK, this pop-up window disappears.
I don't know where to type window as you suggested.
I also don't know what is chrome? Is it the browser used by BB. How do I check it's version?
Thanks Orso, hope to hear from you.
03-27-2014 10:18 AM
Ah, yes you'll want to install Google Chrome on your PC:
Once installed, your PC will need to be on the same (WiFi) network as your device, and on your PC, in the browser address bar, you will type the IPORT combination that the device announces on startup. This will allow you to connect Web Inspector from your desktop PC to your device, and there you will see the debugging consoles and additional panels to help investigate issues.
In short, you're connecting your PC (via Google Chrome) to your device to debug.
03-27-2014 10:41 AM
Ok, I'll try this from some other laptop because my current desktop is conned to network by hardwire and doesn't have WiFi capability.
My device is connected to my desktop PC. Is there a way to do debugging in this scenario?
When I enter the IP and port in the Chrome on PC, I see a page called BlackBerry Web Inspector and below it are 3 things listed:
WebWorks For BB10 Bootstrap
Not sure what these are?
03-27-2014 10:52 AM