hsf-training / cpluspluscourse

C++ Course Taught at CERN, from Sebastien Ponce (LHCb)
Apache License 2.0
169 stars 65 forks source link

Add some useful gdb commands #469

Closed bernhardmgruber closed 1 year ago

bernhardmgruber commented 1 year ago

Students asked me to list the more important commands to solve the debug exercise. Here is what I collected.

How should we best present these? Here in the README.md of the exercise? And what should we do about lldb?

bernhardmgruber commented 1 year ago

Mention this helper for migrating from gdb to lldb: https://lldb.llvm.org/use/map.html. Courtesy of @pcanal.

hageboeck commented 1 year ago

Very useful commands, indeed. I would add

info br: list active breakpoints
enable/disable/delete #: Enable/disable/delete breakpoints
bernhardmgruber commented 1 year ago

Very useful commands, indeed. I would add

Done, thx!