![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Debugging a service in AIX 5.3 | dkn1979 | AIX | 4 | 08-18-2008 06:18 PM |
| debugging | satish@123 | SUN Solaris | 0 | 06-17-2008 10:16 AM |
| Debugging PL/SQL from .NET | iBot | Oracle Updates (RSS) | 0 | 04-06-2008 05:10 AM |
| Debugging the JVM Using dbx | iBot | UNIX and Linux RSS News | 0 | 03-06-2008 07:20 PM |
| Regarding Debugging | sarwan | Shell Programming and Scripting | 2 | 02-09-2006 12:32 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Need some help in debugging the C-Progam.
Hi i want to debug the C program with GDB debugger. I want to debug the program by line by line. I want to debug program like as we debug the program in Turbo-C using the F8. Can any one help me?
I know i have to use single stepping. But i don't know how to use it. Any help can be appreciated.. Thanks in Adv. |
|
||||
|
compile -g and then get into gdb - example
Code:
gcc -g -o myprog myprog.c gdb myprog gdb> break main gdb> r [any command line args go here] ... commands as needed here help lets you see all of the commands. |
|
||||
|
Quote:
|
|
||||
|
What about source code, could I also attach it to debugging running process?
Regards |
| Sponsored Links | ||
|
|