oneTBB icon indicating copy to clipboard operation
oneTBB copied to clipboard

Need natvis file

Open lekeshibai opened this issue 1 year ago • 3 comments

I would like to provide natvis files to facilitate debugging in visual studiodio

lekeshibai avatar Oct 17 '23 02:10 lekeshibai

Thank you for your interest in contributing to the oneTBB project. While I'm not very familiar with natvis files myself, a quick online search suggests that they can greatly enhance the debugging experience in Visual Studio. I believe it's a good idea to create a pull request with your changes so that you can receive feedback from other contributors.

Just to clarify, we don't offer a dedicated Visual Studio solution for TBB. Instead, we use a CMake-based build system, and you can generate a Visual Studio solution for oneTBB and its examples using the CMake generator. If you have any questions or need assistance, feel free to ask, and I'll be happy to help!"

sarathnandu avatar Oct 18 '23 23:10 sarathnandu

Hi @lekeshibai,

Thank you for expressing the interest for contributing to oneTBB. Please pay attention into PR #475 adding Natvis files for some containers. As we mantioned in this PR, we are ready to add Natvis files into oneTBB codebase but since they strictly rely on internal implementation details such as names of private class members or functions, we cannot guarantee that in case of changing the oneTBB internals in the future (e.g. renaming the private fields), Natvis files would be updated opportunely.

kboyarinov avatar Oct 19 '23 09:10 kboyarinov

Personally, I'd find a natvis for concurrent_hash_map really helpful.

VirtualTim avatar Nov 22 '23 00:11 VirtualTim

Closing this issue based on previous comments. Feel free to contribute Natvis file and link to this issue in the future.

sarathnandu avatar Apr 24 '24 06:04 sarathnandu