与视觉检漏仪泄漏相对应的代码

发布于 2024-08-29 21:54:18 字数 592 浏览 8 评论 0原文

我正在尝试在 Visual Studio 2008 中使用 Visual Leak Detector,这是我得到的输出示例:

Detected memory leaks!
Dumping objects ->
{204} normal block at 0x036C1568, 1920 bytes long.
 Data: <                > 80 08 AB 03 00 01 AB 03 80 F9 AA 03 00 F2 AA 03 
{203} normal block at 0x0372CC68, 40 bytes long.
 Data: <(               > 28 00 00 00 80 02 00 00 E0 01 00 00 01 00 18 00 
{202} normal block at 0x0372CC00, 44 bytes long.
 Data: << E             > 3C 16 45 00 80 02 00 00 E0 01 00 00 01 00 00 00 

用户指南说单击任意行即可跳转到相应的文件/代码行;我尝试单击每一行,但没有任何反应!我缺少什么?

I am trying to use Visual Leak Detector in Visual Studio 2008, here is an example of the output I get:

Detected memory leaks!
Dumping objects ->
{204} normal block at 0x036C1568, 1920 bytes long.
 Data: <                > 80 08 AB 03 00 01 AB 03 80 F9 AA 03 00 F2 AA 03 
{203} normal block at 0x0372CC68, 40 bytes long.
 Data: <(               > 28 00 00 00 80 02 00 00 E0 01 00 00 01 00 18 00 
{202} normal block at 0x0372CC00, 44 bytes long.
 Data: << E             > 3C 16 45 00 80 02 00 00 E0 01 00 00 01 00 00 00 

The user's guide says to click on any line to jump to the corresponding file/line of code ; I tried clicking on every line but nothing happens! What am I missing?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

护你周全 2024-09-05 21:54:18

您是否在关闭优化并打开调试信息的情况下编译代码?如果没有这个,就不可能将地址链接到您的实际源代码。

也可能是泄漏发生在无法找到源代码(例如包含的库)的代码中。

Did you compile your code with optimization off and debug information on? Without this, it's unlikely to be able to link the addresses to your actual source code.

It could also be that the leak is occurring in code for which it can't find the source (for example an included library).

行雁书 2024-09-05 21:54:18

你应该使用除油剂。它一定对你有帮助。

You should use deleaker. it must help you.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文