Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
watching wxString
mandrav:
x /nhc displays only a character. I 'm searching for a solution for strings...
Michael:
--- Quote from: mandrav on January 11, 2006, 09:13:42 am ---x /nhc displays only a character. I 'm searching for a solution for strings...
--- End quote ---
This could help?
Michael
mandrav:
Thanks for the link Michael, but it assumes that you have in *your* executable a couple of convenient functions. We want C::B to handle this automatically though.
But I 've found a workaround already. Testing its last bits now and committing soon :)
Michael:
--- Quote from: mandrav on January 11, 2006, 11:17:19 am ---We want C::B to handle this automatically though.
--- End quote ---
Yes, I agree. Automatically would be preferably.
--- Quote from: mandrav on January 11, 2006, 11:17:19 am ---But I 've found a workaround already. Testing its last bits now and committing soon :)
--- End quote ---
Great :D.
Afer this document:
--- Quote ---More work inside GDB is needed to support multi-byte or variable-width character encodings, like the UTF-8 and UCS-2 encodings of Unicode.
--- End quote ---
I can just hope that this work will be done in a not-so-far future :).
Michael
mandrav:
--- Quote ---Yes, I agree. Automatically would be preferably.
--- End quote ---
Hehe, we 're only aiming for the best ;)
OK committed.
Notes:
[*] New watch format defined: wxString
[*] Automatically recognizes watched variable's type and sets its format to wxString if appropriate. This means the user is required to do nothing. Just watch his wxString variable ;)
[*] Haven't tested with ANSI wxString. Could someone using the ANSI C::B test it?
[*] It doesn't work inside "Local variables" and "Function arguments" automatic watches. Only in user-added watches (no big deal, is it?).
[/list]
:lol:
[attachment deleted by admin]
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version