【问题标题】:Having troubles using Valgrind with WSL on CLion在 CLion 上使用 Valgrind 和 WSL 时遇到问题
【发布时间】:2020-04-18 00:50:34
【问题描述】:

在 Windows 10 上工作,启用 WSL 并安装了 Ubuntu。 配置了 WSL 工具链,我可以在 CLion 上构建和运行东西,除了 Valgrind,一切都运行良好。

我使用了路径:

\\wsl$\Ubuntu\usr\bin\valgrind

但每次我尝试运行 Memcheck 时都会得到:

Valgrind executable is not found

我该怎么办?

【问题讨论】:

    标签: valgrind clion windows-subsystem-for-linux


    【解决方案1】:

    尝试使用 Posix 路径 /usr/bin/valgrindhttps://www.jetbrains.com/help/clion/memory-profiling-with-valgrind.html#valgrind-wsl

    为我工作。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-01-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-09-21
      • 1970-01-01
      • 1970-01-01
      • 2016-02-21
      相关资源
      最近更新 更多