Visual Studio Profiler显示"[broken]"作为函数名称 [英] Visual Studio Profiler showing "[broken]" as function names

查看:135
本文介绍了Visual Studio Profiler显示"[broken]"作为函数名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试分析我的c ++ dll,但探查器无法与我一起使用.我希望看到调用树等等,但是只有stl函数显示出来,并且不是全部不相交-当我单击任何函数时,它们的调用者是"[broken]".

I am trying to profile my c++ dll, but the profiler is not working with me. I would like to see the call tree an so on, but only the stl functions show up, and not all disjoint - when i click on any function, their caller is "[broken]".

我不知道我的Google技能是否还不够,但是我找不到[破]的含义以及解决方法的任何信息.

I don't know if my google skills are just not sufficient, but i can not find any information on what [broken] means, and how to fix it.

这是一个调试版本.我不能保证这不是由于某些编译器设置引起的,但我就像尝试了一切一样.

This is a debug build. I cannot guarantee this is not due to some compiler settings, but i fell like i have tried everything.

应该注意的是,破坏代码并添加断点可以正常工作,因此探查器只是无法访问此信息

It should be noted that breaking the code and adding breakpoints works fine, so the profiler just doesn't access this information

如果它添加了任何信息,请按照指定的

If it adds any information, profiling the specific DLL as specified here gives the exception "File contains no data buffers".

推荐答案

我的猜测是输出的PDB出了点问题(例如,您可能在链接器的设置中设置了/DEBUG:FASTLINK,这会产生仅供参考的效果) PDB).

My guess is that something wrong with PDBs of your output (for instance, you may have /DEBUG:FASTLINK set in your linker's settings, which produces reference-only PDBs).

如果不是这种情况,您可以尝试我的分析器-可以作为VisualStudio的扩展,可以进行检测(意味着功能准确)并实时显示统计信息.

If it's not the case, you may try my profiler - it works as an extension to VisualStudio, is instrumenting (meaning it's function-accurate) and displays stats in realtime.

这篇关于Visual Studio Profiler显示"[broken]"作为函数名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆