如何将 Valgrind 与 WSL 结合使用来分析 Windows 10 上的 MSVC 应用程序?
How to use Valgrind with WSL to profile a MSVC application on Windows 10?
我想使用 Valgrind 分析我的应用程序,但我无法在 Windows.
上找到有关如何操作的教程
当我尝试使用
打开我的应用程序时
valgrind -v ./ThreadClass.exe
我得到
valgrind: ./ThreadClass.exe: cannot execute binary file
所以错误与那些科目不同:
''
'How to use Valgrind on Windows'
正如它在“”中的一个答案中所述,它应该适用于最新版本的 Windows 10(创作者更新)。
有人可以向我解释一下如何在 Windows 10 上使用 Valgrind 分析应用程序吗?
我是否需要使用 WSL 中的 Valgrind(Windows Linux 的子系统)将 linux 的应用程序编译为 运行?
WSL 中的 Valgrind 仅适用于 linux 二进制文件,不适用于 windows 二进制文件。如果您为 linux 重新编译您的二进制文件,您应该能够 运行 valgrind。
我想使用 Valgrind 分析我的应用程序,但我无法在 Windows.
上找到有关如何操作的教程当我尝试使用
打开我的应用程序时valgrind -v ./ThreadClass.exe
我得到
valgrind: ./ThreadClass.exe: cannot execute binary file
所以错误与那些科目不同:
'
'How to use Valgrind on Windows'
正如它在“
有人可以向我解释一下如何在 Windows 10 上使用 Valgrind 分析应用程序吗?
我是否需要使用 WSL 中的 Valgrind(Windows Linux 的子系统)将 linux 的应用程序编译为 运行?
WSL 中的 Valgrind 仅适用于 linux 二进制文件,不适用于 windows 二进制文件。如果您为 linux 重新编译您的二进制文件,您应该能够 运行 valgrind。