[Bug 60056] Incorrectly displayed strings in variables/watch view

John Birch jbb at kdevelop.org
Fri Jun 20 08:46:15 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=60056     




------- Additional Comments From jbb at kdevelop.org  2003-06-20 08:44 -------
Ah - I think I see what the problem is now 
 
varname is not a char* but a char[6]. If that is the case, then the error is 
that I'm stripping the \000 from the characters. 
 
You must be getting the same thing when running from the command line? 
 
Also try adding a watch variable of "(char*)varname". This should print "abc" 
(ie treated as a string.) 
 
jbb




More information about the KDevelop-devel mailing list