≡ Menu

integrated development environment

A debugger is a computer program that is used to test and debug other programs. Both sys admin and developers may use debugger to examine code or halt instructions when specific conditions are encountered using an instruction set simulator (ISS).

The GNU Debugger (GDB) is used as debugger for the GNU software. It is a portable debugger that runs on many Unix-like systems and works for many programming languages, including Ada, C, and C++.

Debugging, the demanding process of finding and fixing programming errors, is fundamental to successful software development. But even many experienced programmers find debugging a challenge.

The Art of Debugging with GDB, DDD, and Eclipse (No Starch Press, September 2008, 280 pp, ISBN 9781593271749) teaches readers how to effectively use the three most popular open source debugging tools:

  • GDB
  • DDD
  • Eclipse

The text-command based GDB is included with most Linux distributions. DDD is a popular GUI front end for GDB, while Eclipse provides a complete integrated development environment.

In the book, readers learn how to:

  • Inspect variables and data structures
  • Understand segmentation faults and core dumps
  • Use features like catchpoints, convenience variables, and artificial arrays
  • Avoid common debugging pitfalls
  • Prevent errors in the first place by making the best usage of editors, compilers, and static code checkers

The book also includes coverage of advanced topics like thread, client-server, GUI, and parallel programming. Whether readers dread the thought of debugging programs or simply want to improve their current debugging efforts, they'll find a valuable ally in The Art of Debugging with GDB, DDD, and Eclipse.

The book is written by Norman Matloff - a computer science professor at UC Davis and Peter Jay Salzman who is currently a programmer with a Wall Street financial firm. The authors are well-known for their popular online debugging tutorials, and a printed book is long overdue.

The Art of Debugging offers readers specific advice for debugging with each tool and explains general debugging strategies. Real world examples of coding errors help to clarify the authors' guiding principles, and readers will quickly understand why their programs crash or throw exceptions.

Book Information

  • Publisher: No Starch Press
  • Pub date: September 2008, 280 pp
  • ISBN: 9781593271749
  • Price: $39.95 USD
  • Order Info: order@oreilly.com / 1-800-998-9938 / 1-707-827-7000 / Oreilly web store
  • Support nixcraft: Order book from Amazon

If you wanted to quickly edit PHP, Java, C etc, Geany IDE is perfect. It is a small and lightweight integrated development environment. It was developed to provide a small and fast IDE, which has only a few dependencies from other packages. Geany is known to run under Linux, FreeBSD, NetBSD, MacOS X, AIX v5.3, Solaris Express and Windows.

Basic features of Geany
=> syntax highlighting
=> code folding
=> code completion
=> auto completion of often used constructs like if, for and while
=> auto completion of XML and HTML tags
=> call tips
=> many supported filetypes like C, Java, PHP, HTML, Python, Perl, Pascal and many other
=> symbol lists
=> build support (to compile, link, run programs)
=> plugin interface (C, Lua)

Canonical Ltd. and Red Hat, Inc. today announced the inclusion of OpenJDK-based implementations in Fedora 9 and Ubuntu 8.04 Long Term Support (LTS) Server and Desktop editions, furthering the promise of Sun's open source Java technology initiative.

In addition, the NetBeans 6.0 Integrated Development Environment (IDE) () is being delivered as part of the Ubuntu 8.04 LTS release and Canonical has certified Ubuntu 8.04 LTS Server Edition on several Sun x86 systems.

Sun Press Release : Open Source Java Technology Debuts In GNU/Linux Distributions