[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: gdb and 'c' programming
Thanks for response.
This is useful. If I have one '.c' file then OK.
But I have complete Project, Number of '.c' file is there.
And i am using 'Makefile' project concepts.
In this case how to start debugging line by line.
Waiting you guidence.
****Aravind Sadagopan wrote ***********
Date: Fri, 20 Oct 2000 18:10:36 +0800
From: Aravind Sadagopan <aravind.sadagopan@xxxxxxxxxxxxxxx> | Block address
Subject: Re: [LIP] gdb and 'c' programming
# gdb <program name>
gdb# r (to run the program)
gdb# break filename:line (to set the breakpoint)
gdb# continue (to continue from the breakpoint)
gdb# n (to trace through)
Hope this helps..if you are in to GUI programs then DDD is the best
Anuj Kumar wrote:
> I want to use gdb debugger for 'C' program.
> I have compiled program using -g option.
> Now; I want see the program behavior Line by Line.
> How can I run 'C' program line by line?
> Waiting your valuable guidance.
> With regards,