Debugging a C program using gcc
Asked by
munir
With a C compiler in windows we can debug
a program using F7.
We can add watches and see value of variables
at each step the program executes.
Is it possible to do such thing in gcc 4.3 compiler in ubuntu?
I compile a file by the command "gcc filename.c -o outputfile"
When there are errors ,in terminal, it shows the line number where the error occurred.
Is there any way to directly go to the place where error occurred in the text file where the code was written?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask munir for more information if necessary.
To post a message you must log in.