Format in vars window
Leon Pollak
leonp at plris.com
Sun Mar 11 18:05:35 GMT 2007
On Sunday 11 March 2007, Andreas Pakulat wrote:
> On 11.03.07 15:03:02, Leon Pollak wrote:
> > Hello.
> >
> > There is a very nice new option in variables window of the debugger -
> > formatting of the variable presentation in decimal, hex, etc...
> > Very useful thing.
> > I should like to ask, if possible, to add there a "string" option and
> > print simply a line of chars.
>
> Huh? char* should be printed and it does work for me. The same is true
> for QString's, I'm not sure about std::string.
>
> Andreas
OK, thanks, did not used this option of (char*) to my char str[20] array,
because "p str" in gdb worked... Inertia...
Now, with this casting it works. But why to do casting? :-)
--
Leon
More information about the KDevelop
mailing list