Skip to main content

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


> -----Original Message-----
> From: cdt-debug-dev-bounces@xxxxxxxxxxx [mailto:cdt-debug-dev-
> bounces@xxxxxxxxxxx] On Behalf Of Patrick Noffke
> Sent: Sunday, September 24, 2006 10:12 PM
> To: cdt-debug-dev@xxxxxxxxxxx
> Subject: [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.
> 

Yes, I remember.  Did you make an enh. PR for this?  I may have find time
later to implement this.  Basically, the idea is that we will allow adding
macros for a type.




Back to the top