Debug view receives verbose GDB messages
Kevin Funk
kfunk at kde.org
Tue Jul 26 07:05:00 UTC 2016
On Tuesday, July 26, 2016 4:02:42 PM CEST Jeremy Murphy wrote:
> Hi everyone,
>
> I'm loving KDevelop 5.0 alpha/beta/gamma whatever it is up to. :)
Awesome!
> Except recently, it started sending verbose GDB output to the Debug view
> (along with the actual program output that I would expect) like so:
> (gdb) 1-gdb-show version
> GNU gdb (Gentoo 7.11.1 vanilla) 7.11.1
> Copyright (C) 2016 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law. Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-pc-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <https://bugs.gentoo.org/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word".
> 1^done
> (gdb) 2-gdb-set width 0
> 2^done
>
> ---8<--- ~200 lines of output ---8<---
>
> (gdb) 129-var-create --thread 1 --frame 0 var113 @ "typename"
> 129^error,msg="-var-create: unable to create variable object"
> (gdb) 130-var-create --thread 1 --frame 0 var114 @ "back_inserter"
> 130^error,msg="-var-create: unable to create variable object"
^ Stuff like this definitely shouldn't be printed to the Debug view as it is
just the internal communication with GDB via the MI protocol.
@Peifeng: Could you have a look?
Cheers,
Kevin
> It sends the messages when I run debug, obviously, but also when I mouse
> over variables as the last couple of lines are an example of.
>
> I'm using the latest releases of just about everything, which at the moment
> is GDB 7.11.1, Qt 5.6.1, Frameworks 5.24.0, Plasma 5.7.2, and tip of the
> 5.0 branch for KDevelop and KDevPlatform.
>
> Is this a known issue or am I the lucky discoverer? I can't recall exactly
> when I first noticed it, sorry, but it must have been recently.
>
> Thanks, cheers.
>
> Jeremy
--
Kevin Funk | kfunk at kde.org | http://kfunk.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20160726/7954e2bb/attachment-0001.sig>
More information about the KDevelop-devel
mailing list