From a19f4f059d3e76210cfefdbb2881255d7fbc7879 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 7 Oct 2011 14:16:38 +0000 Subject: Debug: add a write_debug function write_debug writes in a Scratch buffer named '*debug*', so that debug messages are accessibles from within kakoune --- src/debug.hh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/debug.hh (limited to 'src/debug.hh') diff --git a/src/debug.hh b/src/debug.hh new file mode 100644 index 00000000..7fdb226c --- /dev/null +++ b/src/debug.hh @@ -0,0 +1,13 @@ +#ifndef debug_hh_INCLUDED +#define debug_hh_INCLUDED + +#include + +namespace Kakoune +{ + +void write_debug(const std::string& str); + +} + +#endif // debug_hh_INCLUDED -- cgit v1.2.3