Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-debug-dev] Debugging Qt types in Eclipse

Hi all,

There was a request in 2004 about debugging Qt (and other, e.g. STL) types in Eclipse.  This post shows a gdb macro for displaying the contents of a QString:

http://dev.eclipse.org/newslists/news.eclipse.tools.cdt/msg05723.html

Just wondering if this feature has been considered, or if there's another way to customize how variables are displayed in the debugger?  I've tried the "Cast to Type ..." feature to cast the QString array as a char, but I have to do that manually for every character of the string (it's an array of 16-bit unsigned ints).  Of course if the string contains characters outside the ASCII range, the cast to a char woudn't make sense, so perhaps there's a better way to display Unicode text.

********************************************
Patrick Noffke
Senior Software Engineer
Vision Fire & Security
45 Third Avenue
Technology Park
Mawson Lakes  SA  5095

Phone:  +61 8 8300 4038
Fax:  +61 8 8300 4001
Email:  patrick.noffke@xxxxxxxxxxxx

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.  Any representations or opinions expressed in this email are those of the individual sender, and not necessarily those of Vision Systems Limited.


Back to the top