Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 300
Registered: ‎03-12-2009
My Device: Not Specified

Debugging Headless App

How do I go about attaching the debugger to the headless part of an app?

 

The headless portion of my app seems "flakey" at best - honestly - I have no idea if its running or not - and when it does run and I know its running, its completely at random.

 

How can I debug this portion of the app?

 

 

Developer
Posts: 237
Registered: ‎05-21-2012
My Device: BlackBerry RED Z10
My Carrier: WiFi

Re: Debugging Headless App

Have you tried throwing some Hub Notifications? I tried but didn't worked. But someone told me that works.

Developer
Posts: 1,632
Registered: ‎07-14-2008
My Device: Z10
My Carrier: Fido

Re: Debugging Headless App


nemory wrote:

Have you tried throwing some Hub Notifications? I tried but didn't worked. But someone told me that works.


Yeah you can send a message to the hub but that isn't every friendly.  It would be too annoying to get 100s of hub notifications.  the best is just write it a debug file.

 

you can also write the debug the the output stream with qDebug()