Click on the header to list all pages related to debugging.

    <kensanata> everytime emacs encounters an error in InitFile,
      emacs cries a little.

Debugging Emacs:

* DebugEmacs -- debug the C layer using gdb
* DebugMessages -- find out where *Messages* messages are coming from
* EmacsMemoryDebugging -- look for memory leaks

Debugging EmacsLisp:

* DebuggerMode -- debugging EmacsLisp
** BacktraceBuffer -- quick and dirty EmacsLisp debugging happens in the *Backtrace* buffer
** SourceLevelDebugger -- the full Edebug for EmacsLisp
* DebugFileLoading -- finding errors in files
* DataDebug -- Examine large complex Emacs Lisp data structures

Profiling and tracing EmacsLisp:

* EmacsLispProfiler
* EmacsNativeProfiler
* EmacsLispBenchmark
* EmacsLispTracing
* [[Log4E Logging For Elisp]] - a logging framework for Elisp

Debugging other programs using Emacs:

* DebuggingWithEmacs usually involves the GrandUnifiedDebugger (GUD) as an interface to command line debuggers such as gdb, dbx, cdb,....
** GdbMode -- a debugger mode specialized for gdb
** PdbNotes -- additional setup info for python
** DebugAdapterProtocol -- debugging using the Debug Adapter Protocol

* There is a [https://github.com/rocky/emacs-dbgr/wiki/ rewrite of GUD] from scratch. The debuggers can be run stand-alone or from an existing a comint "track-mode" shell The debuggers supported include:
** [http://bashdb.sf.net bashdb]  --  Bash debugger
** gdb     --  can be run stand-alone or from an existing a comint "track-mode" shell
** [http://github.com/rocky/kshdb kshdb]   --  Ksh debugger
** pdb -- Stock C Python debugger
** perl    --  Stock perl5db debugger
** [http://bashdb.sourceforge.net/pydb/ pydb] --  Python 2.x debugger (but please use the newer pydbgr instead)
** [https://github.com/rocky/python2-trepan trepan2] --  Python 2.x debugger (formerly pydbgr)
** [https://github.com/rocky/python3-trepan trepan3k] -- Python 3.x debugger
** rdebug  --  Ruby debugger ruby-debug 
** [http://bashdb.sf.net/remake remake]  --  GNU make debugger
** [https://github.com/rocky/rb-trepanning/wiki trepan]  --  Ruby 1.9 YARV debugger
** [https://github.com/rocky/rbx-trepanning/wiki trepanx] --  Ruby debugger for Rubinius
** [https://github.com/rocky/Perl-Devel-Trepan/wiki trepan.pl] --  Trepanning Debugger for Perl
** [https://github.com/rocky/zshdb/wiki/ zshdb]  --  Zsh debugger 
* VisualCDebugger -- interfacing with the Visual C++ debugger
