07-20-2012 06:17 PM
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
07-26-2012 08:16 AM
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
07-26-2012 09:02 AM
@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.
07-26-2012 10:09 AM
"i cant debug into QT libs, but i really dont need that. "
I hope you didn't just jinx yourself! ![]()
![]()
Cheers,
Jon
07-26-2012 10:20 AM
No i did not
. I mean i cant go inside source of them (Qt libraries), but can debug my program.
07-27-2012 11:31 AM
Hi,
Can you show me the steps you perform to toggle a watchpoint?
Martin
07-27-2012 03:19 PM
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
07-30-2012 02:41 PM
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.j
Thanks,
Martin