Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
06-28-2013 06:05 PM
I've got a really bizzarre problem.
On a simulator:
When I "run" my app, it works. Works well.
When I "debug" my app, it freezes at a certain point. Until, I place a breakpoint in my main.qml file, and then it just starts working again.
When I run the app, acts as it does when debugging with the simulator. Except of course, I can't set a breakpoint.
The app opens with a login page, interface done with C++. User enters credentials, and it authorizes with an API, and then it proceeds to load my main.qml file. So login process interface is in C++ and then all the rest is QML.
When debugging, it freezes right when trying to load the QML after successful login authorization. Then it just sits there. No hints as to what is happening from the console or an ssh session.
But then, I decided for some reason to place a breakpoint in my main.qml file, the one that was stuck loading. I placed it while the app was frozen, not before running. And then, after a couple seconds, the app proceeded to load the QML and all was well.
Anybody have even the slightest clue as to what is happening??
Here is the code that is loading the QML after successful login. Keep in mind, all my code is working when I just "run" the app. But debugging seems to reveal an issue.
QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent( this); qml->setContextProperty("app", this); AbstractPane *root = qml->createRootObject<AbstractPane>(); Application::instance()->setScene(root);
Using sdk 10.1.0.2420.
06-28-2013 06:36 PM
06-29-2013 01:02 PM
06-30-2013 02:56 PM
07-02-2013 06:40 PM
07-03-2013 05:23 AM