Debug BB10 Headless Apps is really a hard topic for developers.
Before the latest Momentics update, debug is even harder..
By Momentics 2.1.2, developers can follow this instruction to debug your headless apps.
https://developer.blackberry.com/native/documentation/dev/tools/debugging_headless_apps.html
Here I am going to share my experience for debugging headless apps.
I put the logs into notification and show them in Hub!
If you have some problems on debugging headless apps on BlackBerry 10, maybe this trick can help you and save lots of time! :)
GOGOGO, keep developing on BlackBerry 10!
Last Friday I updated my iMac to Mac OS X 10.11 (El Capitan), a nightmare for my whole weekend..
After upgraded, BlackBerry Link no longer recognize my BlackBerry 10 devices.
From Dev Alpha B to Passport.. Just keep showing "Can't connect to your BlackBerry 10 device, press restore.." etc
And then I tried to open my Momentics IDE...
What the....
I think the problem may be the USB driver or connection.
So I did some test.
-
Reinstall Mac OS X 10.11 (El Capitan)
Still has the same problem.
-
Uninstall BlackBerry Link & Blend and reinstall them
Still has the same problem.
-
Only install BlackBerry Link
Oh my God, it works!!
I did more test, but in those tests, once you install BlackBerry Link first and then install the BlackBerry Blend, the connections will all fine!
-
If you don't need BlackBerry Link, simply uninstall it and just use your Momentics for connecting your BB10 device to debug is also a solution.
(But for me, I still need Link for backup/restore and Blend to type in Chinese... Can someone tell me why BlackBerry remove the Zhuyin input method on Passport!!)
Just a simple tips and work around for you guys may occur!
Happy Coding!