Thanks for pointing out the check points. Using: Firefox OS=1.2 Device=Peak Firefox desktop version=25 series
After updating the firefox desktop version to 27 series, issue is resolved. Now, I am able to debug using both connect and app-manager. BR/ Lalit On Nov 25, 2013 7:11 AM, "Panos Astithas" <[email protected]> wrote: > On Fri, Nov 22, 2013 at 12:40 PM, Lalit Arora <[email protected]>wrote: > >> Hi, >> >> I am trying to debug gaia on device. >> Able to debug stack and see variables. But, facing following issues. >> >> Firstly, not able to scripts for setting breakpoints. Secondly, when I >> click source hyperlink in log window, not able to open source file due to >> app:// protocol. >> >> Please let me know if I am missing something. Any way to handle app:// >> protocol for source navigation and setting breakpoint? >> >> Following are the steps taken: >> >> 1. Created custom-prefs.js for remote debugging pref >> 2. DEBUG=1 make >> 3. make install-gaia >> 4. Verified debug prefs set in prefs.js in device after b2g restart >> 5. Forward tcp socket to /data/local/debugger-socket >> 6. Map app details in /etc/localhost to 127.0.0.1 >> 7. Open forefox page "about:config" and Enable >> network.protocol-handler.external.javascript and >> devtools.debugger.remote-enabled >> 8. Open firefox and connect to localhost, forwarded port >> 9. Select and connect to main process >> 10. Debug window opens and able to see only stack and variables if >> execution is paused. Scripts source is not loaded. >> > > We need more information to understand what is going on. For starters: > > 1. What device is this? > 2. What version of Firefox OS is on it? > 3. Which version of desktop Firefox are you using? > 4. How are you connecting to the device, using the App Manager or using > the Connect menu item? > > _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
