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
New Developer
Posts: 26
Registered: ‎12-13-2012
My Device: 9000
My Carrier: Viettel

how to display QString variable in debug

Hi everyone,

When I debug my app in Eclipse Native SDK , I don't see the value of QString in Variables windows.

Anyone can give me the tips to show the QString value.

Thanks ,

Developer
Posts: 271
Registered: ‎05-29-2013
My Device: BlackBerry Z10
My Carrier: MTS

Re: how to display QString variable in debug

Try to expand variable to see it's class members.
-------------------------------------------------------------------------------
NSR Reader for BlackBerry 10 @NSRReader on Twitter
Me @xelfium on Twitter
Developer
Posts: 1,524
Registered: ‎12-18-2012
My Device: Z30, Z10 LE, DevAlpha C, PlayBook

Re: how to display QString variable in debug

Hi,

It's not supported by default, but it seems it can be added using Python scripts. Please see this thread:

http://supportforums.blackberry.com/t5/Native-Development/Pretty-printing-Qt-containers-while-debugg...

 


Andrey Fidrya, @zmeyc on twitter