调试英特尔的 TBB 容器
最近我们开始与英特尔的TBB合作,发现在调试容器时我们无法真正观察元素及其数据。
是否有标志设置、插件或棘手的方法来启用此功能? (也许是供 Visual 使用的脚本片段)
Recently we have started working with Intel's TBB and found that when debugging containers we cannot really watch the elements and their data.
Is there a flag setting, a plugin or a tricky way to enable this? (maybe a script snipit for Visual to work with)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您正在寻找的是表达式计算器。 您无法使用简单的标志来完成此操作,因为数据结构的数量是无限的。 但表达式求值器确实是一种插件,它绝对是代码。
What you are looking for is a expression evaluator. You can't do this with a simple flag, as there are an infinite number of data structures. But an expression evaluator is indeed a kind of plugin, it's definitely code.
我不会回答你的问题“有没有”,因为我不知道,但我不会使用表达式求值器,而是使用自定义可视化工具。 它们写起来很痛苦,但写完后效果相对较好。
最好的资源是:
http://www.virtualdub.org/blog/pivot/entry。 php?id=120
I'm not answering your question "is there one" since I don't know, but instead of using an expression evaluator I'd use a custom visualizer. They're a pain to write but work relatively well afterwards.
The best resource is:
http://www.virtualdub.org/blog/pivot/entry.php?id=120
TBB 是一个相对较新(但令人兴奋)的库,我现在不期望有大量的调试工具。 您可以尝试实现一个简单的环形缓冲区 (http:// www.ibm.com/developerworks/aix/library/au-buffer/index.html)用于日志记录和调试。
TBB is a relatively new (but exciting) library, and I won't expect extensive tools for debugging right now. You might try to implement a simple ring buffer (http://www.ibm.com/developerworks/aix/library/au-buffer/index.html) for logging and debugging.