Debugging

Programmers develop good coding habits to reduce the number of bugs in their code. They never eliminate them. Good debugging skills are a result of experience, a solid understanding of how the software works, logical thinking, and dogged persistence. If you have limited experience debugging code, then the process is a lot like how auto mechanics work:

  1. Collect symptoms of the problem.
  2. Match symptoms to possible causes.
  3. Begin eliminating potential causes.
  4. Repair most probable cause.
  5. Test the repair to confirm that the problem is fixed.

The more you work through this process, the more it will become second nature to you.

This section introduces the tools that are available for debugging Elgg plugins. Debugging plugins can be challenging because ...

Get Elgg 1.8 Social Networking now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.