Viewing CFStrings in the CW debugger

Viewing CFStrings in the CW debugger

Post by Chris Tyrr » Wed, 06 Aug 2003 12:22:37


Is it possible to display CFStrings in CW's de *** in a readable format?
"View as UniCode String" doesn't help.


--
Chris
 
 
 

Viewing CFStrings in the CW debugger

Post by Thomas Eng » Wed, 06 Aug 2003 17:46:17

In article <BB548D2B.8866% XXXX@XXXXX.COM >,



Theoretically, you just need to link in and initialize {Codewarrior}:Mac
OS Support:DataViewer_Carbon.Lib

In practice, adding an ::CFShow( the CFString ); works more reliable for
me.

Regards,
Tom_E

 
 
 

Viewing CFStrings in the CW debugger

Post by Sean McBri » Fri, 08 Aug 2003 10:20:25

In article <bgnqso$qeev7$ XXXX@XXXXX.COM >,



You also need to call a function to init DataViewer. It works well for
me, but I have not had much luck with Unicode chars (ie Japanese, etc.)
 
 
 

Viewing CFStrings in the CW debugger

Post by Thomas Eng » Fri, 08 Aug 2003 15:39:38

In article < XXXX@XXXXX.COM >,




Well, that qualifies for me as "initialisation" ;-)

Regards,
Tom_E
 
 
 

Viewing CFStrings in the CW debugger

Post by Sean McBri » Fri, 08 Aug 2003 22:19:00

In article <bgss7a$rru7o$ XXXX@XXXXX.COM >,



hehehe... guess I was reading too fast, missed that word! Maybe the
American spelling threw me off. :)
 
 
 

Viewing CFStrings in the CW debugger

Post by Thomas Eng » Sat, 09 Aug 2003 02:21:11

In article < XXXX@XXXXX.COM >,



I have to admit I'm kind of agnostic for the imperial vs. imperatorial
language differences.. ;-) *SCNR*

Regards,
Tom_E