Live data from Hacker News

GDB Advanced Techniques: Expanding Functionality with Custom Function Execution

altmannmarcelo.medium.com

1–2 of 2 posts

Re: GDB Advanced Techniques: Expanding Functionality with Custom Function Execution

#2
GDB is the go-to tool for debugging and troubleshooting low-level applications such as C++.

Sometimes all you need simple break at some specific point and print a variable to inspect its value. Other times you need to go even further and loop through some memory structure such as a list.