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

A better support of LArSoft in gdb #24

Open
gennadiy-fnal opened this issue Oct 22, 2024 · 1 comment
Open

A better support of LArSoft in gdb #24

gennadiy-fnal opened this issue Oct 22, 2024 · 1 comment

Comments

@gennadiy-fnal
Copy link

We (Icarus and SBND) need a couple of features added to LArSoft, primarily to speed up the debugging of LArSoft packages deployed with Spack using gdb:

  1. an automated way to remap paths of the compiled source code to the actual location of installed sources, e.g. using the set substitute-path "{from_path}" "{to_path}" command, so GDB displays source code in the TUI window.

  2. gdb macros for printing a nice summary about an art event, such as its number, list of products and their IDs, etc. This would really help with debugging the experiment's analyzer code.

  3. an option to include gdb as a dependency for the art product suite, e.g. '+gdb', with TUI and DAP features enabled.

  4. a tutorial on how to use these features effectively.

@knoepfel
Copy link
Member

knoepfel commented Nov 4, 2024

Hi @gennadiy-fnal, thank you for the note. Such facilities would be helpful, but right now the SciSoft team does not have the effort to provide them. As always, we invite contributions from others who have the time and interest to pursue such ideas.

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