chalaev / el-debug

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Table of Contents

  1. Description
  2. Prerequisites
  3. Quick start
  4. License

Description

Simplifies elisp debugging and testing.

Usage example: take a look on how it is used in testing cloud project: (require 'el-debug) rewrites defun so that we get a log message every time we enter or leave a function, see meso.log as an example.

Other macros used for debugging in cloud project: cloud.org and testing.org: debug-set, set-list, and debug-log-var.

Prerequisites

We need lisp-goodies: start.el (used by Makefile), and shalaev.el for logging.

Quick start

  1. mkdir ~/.emacs.d/local-packages/.

  2. Place shalaev.el and el-debug.el to ~/.emacs.d/local-packages/

  3. Load start.el in your ~/.emacs

  4. Insert in your text code:

    (require 'el-debug)
    

    similarly to this example.

License

This code is released under MIT license.

About


Languages

Language:Emacs Lisp 85.5%Language:Makefile 14.5%