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. BR/ Lalit _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
