filmov
tv
GDB Debugging: How to Debug a C/C++ program
Показать описание
What is the GNU GDB debugger?
This video explains what is the GDB debugger and how to debug a C / C++ program inside the Linux terminal.
A debugger is a program that allows you to pause and resume the execution of your code and makes it easier for programmers to find bugs in their code.
We will execute the GDB tool step by step to explain the most popular commands to add breakpoints, watch variables, and pause/resume the execution of C and C++ code.
GDB is a powerful debugger that allows us to work with C and C++ code from inside the operating system terminal. Mastering GDB will help you evolve as a programmer and open doors to optimize your code and find potential errors.
We will work with a very basic C sample code, where one of the functions is returning the wrong value as a result. With GDB we can break the execution, watch the value of the variables, and continue to inspect our code line by line.
For complete and comprehensive courses, including ones on the Linux operating system and other C and C++ development tools, visit:
SUBSCRIBE to learn more about computer science topics:
Follow me on Twitter:
This video explains what is the GDB debugger and how to debug a C / C++ program inside the Linux terminal.
A debugger is a program that allows you to pause and resume the execution of your code and makes it easier for programmers to find bugs in their code.
We will execute the GDB tool step by step to explain the most popular commands to add breakpoints, watch variables, and pause/resume the execution of C and C++ code.
GDB is a powerful debugger that allows us to work with C and C++ code from inside the operating system terminal. Mastering GDB will help you evolve as a programmer and open doors to optimize your code and find potential errors.
We will work with a very basic C sample code, where one of the functions is returning the wrong value as a result. With GDB we can break the execution, watch the value of the variables, and continue to inspect our code line by line.
For complete and comprehensive courses, including ones on the Linux operating system and other C and C++ development tools, visit:
SUBSCRIBE to learn more about computer science topics:
Follow me on Twitter:
Комментарии