|
- Almost all compliers provides an interactive debugging tool.
- These debuggers are allow to stop the program at any point and view value of any variable.
- Moreover it allows to execute the program step by step.
- There are many debugger available, it is not possible to cover all them. In this module we use most popular Free Software Foundation (GNU) debugger gdb. Other debuggers also works similar manner.
- Before debugging the program, it have to complied with option - g . If you are using gnu complier to compile palindrome.c program, use the following command:
- It generates an executable program a.out.
|
|