Skip to Main Content
Programming in C, Fourth Edition
book

Programming in C, Fourth Edition

by Stephen G. Kochan
August 2014
Beginner content levelBeginner
552 pages
15h 37m
English
Addison-Wesley Professional
Content preview from Programming in C, Fourth Edition

17. Debugging Programs

This chapter teaches you two techniques you can use to debug your programs. One involves using the preprocessor to allow for the conditional inclusion of debugging statements in your program. The other technique involves the use of an interactive debugger. In this chapter, you are introduced to a popular debugger called gdb. Even if you use a different debugger (such as dbx, or one built in to an IDE tool), it is likely that your debugger will have similarities to gdb.

Again, as discussed in the opening of Chapter 14, “Working with Larger Programs,” some of the topics covered in this chapter may not seem applicable to you depending on the operating system and development environment you use, but the concepts are important ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming in C, Third Edition

Programming in C, Third Edition

Stephen G. Kochan
C Programming Language, 2nd Edition

C Programming Language, 2nd Edition

Brian W. Kernighan, Dennis Ritchie

Publisher Resources

ISBN: 9780132781206Purchase book