Qt Creator中的Valgrind

Vic*_*ran 3 qt-creator

使用Qt Creator的Memcheck功能返回以下内容:

valgrind: Bad option: --xml=yes, but no XML destination specified
valgrind: --xml=yes has been specified, but there is no XML output
valgrind: destination.  You must specify an XML output destination
valgrind: using --xml-fd, --xml-file or --xml-socket.
valgrind: Use --help for more information or consult the user manual.
Analyzing finished.
** Unknown error **
Run Code Online (Sandbox Code Playgroud)

配置中是否存在未正确设置的内容,或者这是否是Qt Creator错误?我无法在可能注入命令行参数或设置XML文件输出的设置中看到任何地方.

Ste*_*ris 8

这是由于valgrind-3.13中的xml-socket错误.

现在,如果你想毫无问题地使用valgrind,你可以降级到valgrind-3.12.