Skip to content
FirePHP protocol implementation in Common Lisp
Common Lisp
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README
firephp-tests.asd
firephp-tests.lisp
firephp.asd
firephp.lisp
version.lisp-expr

README

This is firephp implementation in Common Lisp.

Currently it can send 2 types of firephp messages as FirePHPCore library can - dump messages and log messages (with type log, info, warn).
Messages must be simple structures like lists, strings, numbers etc.
Server supported is hunchentoot, but can be easily extended to work with other servers.
Library does not support FirePHP 1.0 protocol.

On firefox work both types of messages work.

On google chrome there are 2 cases. 

Dump messages work with plugin webug and only if no log messages present in response.

Log messages work on FeverPHP. If dump messages present in response, FeverPHP just doesn't display them.

Here is the code to send dump messages.

(firephp:send-message "Test")
(firephp:send-message "Test" :label "TestLabel")

And to send log messages just need to 

(firephp:send-message "Test" :type :log)
(firephp:send-message "Test" :type :log :label "TestLabel")

Small debug wrappers included. Try 

(firephp:fb "test1" "test2" (list 1 2 3))
(firephp:descr "test1" "test2" (list 1 2 3))
Something went wrong with that request. Please try again.