The SMS app is a Gaia app and needs special attention when debugging. This wiki page will show you have to debug Gaia apps: <https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Security/Testing_in_a_privileged_context?redirectlocale=en-US&redirectslug=Mozilla%2FFirefox_OS%2FApps%2FTesting_in_a_privileged_context>
On 11/04/2013 02:19 PM, Panos Astithas wrote: > On Mon, Nov 4, 2013 at 6:12 PM, Yoni Jah <[email protected]> wrote: > >> On Saturday, November 2, 2013 11:32:42 AM UTC+2, Yoni Jah wrote: >>> I'm trying to figure out a small bug that happens on my ZTE device in >> the sms app. for some reason I don't see the contact name an only its >> number. >>> >>> I think it has to do with the international number prefix but I'm not >> sure. >>> >>> I tried to recreat this issue on my desktop emulator but it seems to >> work. >>> >>> >>> >>> so I'm trying to debug it now on th actual device. >>> >>> but whats happening is that In the remote debugger I can't see any of >> the sms app files. >>> >>> if I add breakpoints inside the code they don't work at all. >>> >>> ans console.log does log but only the string value (so I get [object >> object] with no option to see the actual object properties). and there is >> no line or file pointerd to where the code is running. >>> >>> >>> >>> is there any way for me to make the remote debugger aware of the app >> files. and be able to add breakpoints and check variables ? >>> >>> >>> >>> also is there any way for me to pull the entire contacts and sms data of >> the device and create a db mockup for the emulator (so maybe I can >> reproduce the bug) ? >> >> no one has any idea about this issue ? > > > Remote debugging is supported in Firefox OS 1.2+ through the App Manager. > If your device has 1.0 or 1.1 then that won't work unfortunately. If your > device does have 1.2 or later and you still can't get debugging to work, > please file a bug so we can investigate. > > Cheers, > Panos > _______________________________________________ > dev-b2g mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-b2g >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
