Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
What does GDB stand for?
Consider the acronym of GDB.
What command do you use to enable core dumps?
Think about memory management in Linux.
What tool does GDB provide for viewing the call stack?
Think about how you look back at the function history.
True or False: Valgrind can detect only memory leaks.
Remember its capabilities.
You're running a C application that crashes with a segmentation fault. What are the steps you would take to identify and fix the issue using GDB?
Remember to check variable values before and after breakpoints.
You suspect a memory leak in your program. Describe how you would use Valgrind to confirm and analyze the leak.
Look for the summary of leaks and their locations.
6 more questions in this section. Enroll free to practise them all.
Enroll free