Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug visualizer for Visual Studio or lldb #459

Open
sketchylizard opened this issue Mar 31, 2023 · 3 comments
Open

Debug visualizer for Visual Studio or lldb #459

sketchylizard opened this issue Mar 31, 2023 · 3 comments

Comments

@sketchylizard
Copy link

We recently started using Roaring64Map in our code to manage a (potentially) large visited set for graph traversal. We replaced an unordered_set<uint64_t> and our simplest traversals are twice as fast for large graphs. Thanks to all who worked on it.

Our developers occasionally set breakpoints to look at results from a traversal, and want to know if a given node (integer) is in the result. With unordered_set<uint64_t> Visual Studio's debugger would show you a list of the entries in the hash table, which was convenient. I have been asked to create a visualizer for Visual Studio. Since I primarily use Linux/clang myself, I am also interested in doing one for lldb.

Obviously, it would be great to just find a ready-made one, but I'm willing to do the work. I'm mostly looking for tips or advice on how I might accomplish this task.

@lemire
Copy link
Member

lemire commented Mar 31, 2023

our simplest traversals are twice as fast for large graphs

Fantastic!

it would be great to just find a ready-made one

You mean a visualizer for lldb or a visualizer for Visual Studio?

Note that I am not aware of such a thing in either case. But there is no technical limitation as far as CRoaring is concerned, I believe.

@sketchylizard
Copy link
Author

Most people on my team use Visual Studio, so that is the higher need. I personally use lldb, so, if I'm going to write a visualizer, I would also do one for it.

Note that I am not aware of such a thing in either case.

Ok, I'll investigate. I've written a few simple ones before but this would definitely be the most complex one.

@lemire
Copy link
Member

lemire commented Mar 31, 2023

I've written a few simple ones before but this would definitely be the most complex one.

We would be happy to help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants