Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Debugging a c source code in Unix

Status
Not open for further replies.

AQWQ

Programmer
Aug 5, 2001
33
IN
Can any one suggest a web site or good book where i can find how to debug a "C" source code compiled in unix.i know that there is a option cc -g for debugging.but how can i put a breakpoint and alll.more over i need information on how to debug a core file given during an execution error?

Thanx in advance Santhosh Ravindran
 
You can also use dbx to debug.

I also recommend "Writing Solid Code" by Steve Maguire. He gives a lot of useful tips on how to catch bugs and best of all avoid creating them altogether.

Brudnakm
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top