87e9262001-06-22Martin Nilsson // This file is part of Roxen Search
7fbb5f2009-05-25Martin Stjernholm // Copyright © 2001 - 2009, Roxen IS. All rights reserved.
87e9262001-06-22Martin Nilsson //
7fbb5f2009-05-25Martin Stjernholm // $Id: debug.h,v 1.4 2009/05/25 12:41:23 mast Exp $
87e9262001-06-22Martin Nilsson 
11ea292002-03-11Henrik Grubbström (Grubba) #define TRACE werror("### %s:%d\n" \ " %O()\n" \ " %{%O, %}\n", \ __FILE__, __LINE__,\ backtrace()[-1][2],\ column(map(indices(allocate(5)),peek), 1)) #define SHOW(x) werror("### %s(%d) %s == %O\n", __FILE__, __LINE__, #x, (x))