-
Notifications
You must be signed in to change notification settings - Fork 65
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
Helper files for debuggers #1158
Conversation
<!-- This works only if the order of the children hasn't been messed up. --> | ||
<!-- I haven't found a way to get a temporary Node here in the loop. --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works in the simple case, for objects that get created and never have Nodes removed. I don't know if I can get this to work in the general case, where the order might get perturbed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is cool and seems very useful. I look forward to taking advantage of this in the future.
@agcapps - this is a terrific idea! I'd like to see a short Sphinx doc page that says how to install/use them with the various debuggers. |
@JustinPrivitera , thanks! @BradWhitlock , good idea. I'll add documentation. |
At this point, I'm stuck on the GDB file. I wrote it as I understood the documentation, and following any examples I could find. So far, the "hash-like" interface for object Nodes does not work. |
should we get the others in and add a ticket for full gdb support in the future? |
Yes, I would like to commit. This PR has languished long enough. I'll add some screen shots and clean up construction debris, and mark as "not draft." |
Sounds good! |
This PR implements helper files for three popular debuggers.
For MS Visual Studio, a .natvis file; for Totalview, a data display function to implement C++View; for gdb, a Python file. So far, we display conduit::Node objects. Haven't added iterators or other types yet.