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


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.


Reply
Developer
Posts: 93
Registered: ‎05-31-2012
My Device: BlackBerry Playbook
My Carrier: Bell

Watchpoint support?

Hello BB NDK devs,

 

Anyone know what the state of watchpoint support is?

HW Watchpoints don't seem to work.

SW Watchpoints seem to work once but stall the application thereafter.

 

Thanks!

 

Stephane

Developer
Posts: 188
Registered: ‎01-27-2012
My Device: playbook
My Carrier: ...

Re: Watchpoint support?

I can confirm they work from Qt creator. I have not tried any hardware break or watch points but in general I have had no issues setting soft break and watch points on my playbook for debugging...

Of course I had to configure, build and deploy the Qt libs in debug mode for this to work though

Cheers,

Jon

Developer
Posts: 368
Registered: ‎06-30-2012
My Device: Playbook, Z10LE, DevAlpha C
My Carrier: Telenor, Mobitel

Re: Watchpoint support?

@jheron

I'm also using QT Creator, and i dont have QT libraries compiled in debug mode. But i also can debug my apps, of course, i cant debug into QT libs, but i really dont need that. 

Developer
Posts: 188
Registered: ‎01-27-2012
My Device: playbook
My Carrier: ...

Re: Watchpoint support?

"i cant debug into QT libs, but i really dont need that. "

I hope you didn't just jinx yourself!

Smiley Happy

Cheers,

Jon

Developer
Posts: 368
Registered: ‎06-30-2012
My Device: Playbook, Z10LE, DevAlpha C
My Carrier: Telenor, Mobitel

Re: Watchpoint support?

No i did notSmiley Happy. I mean i cant go inside source of them (Qt libraries), but can debug my program.

Highlighted
Retired
Posts: 329
Registered: ‎05-07-2012
My Device: BB Alpha
My Carrier: N/A

Re: Watchpoint support?

Hi,

 

Can you show me the steps you perform to toggle a watchpoint?

 

Martin

Developer
Posts: 93
Registered: ‎05-31-2012
My Device: BlackBerry Playbook
My Carrier: Bell

Re: Watchpoint support?

Hi Martin,

 

I am enabling the watchpoint from the gdb console in QNX momentics:

 

set can-use-hw-watchpoints 0   <-- disable hardware watchpoints

watch expression

 

Also attempted using the UI to do the watch operation. Same results.

 

Thanks,

 

Stephane

Retired
Posts: 329
Registered: ‎05-07-2012
My Device: BB Alpha
My Carrier: N/A

Re: Watchpoint support?

Hmm this is odd - As far as I know the UI mechanisms in place are functional - I would recomment logging an Issue for this here:

https://www.blackberry.com/jira/secure/Dashboard.jspa

 

Thanks,

 

Martin