ircproxy  The Ultimate Cyborg

debug.cc File Reference


Detailed Description

This file contains the implementation of debug specific code.

Definition in file debug.cc.

#include "sys.h"
#include <cctype>
#include <iomanip>
#include <map>
#include <string>
#include <sstream>
#include "debug.h"

Go to the source code of this file.

Namespaces

namespace  debug
namespace  debug::channels
namespace  debug::channels::dc

Functions

bool debug::is_on_in_rcfile (char const *dc_label)
 Returns the the original state of a debug channel.
void debug::init_thread (void)
 Initialize debugging code from new threads.
void debug::init (void)
 Initialize debugging code from main.
void debug::dump_hex (libcwd::channel_ct const &channel, unsigned char const *buf, size_t size)
 Write a hexadecimal and ascii dump of a buffer to a given debug channel.

Variables

channel_ct debug::channels::dc::persist
 This debug channel is used for XMLPersist.
channel_ct debug::channels::dc::exceptions
 This debug channel is used for exception tracking.
channel_ct debug::channels::dc::objects
 This debug channel is used for object construction/destruction tracking.
channel_ct debug::channels::dc::matcher
 This debug channel is used for matcher tracking.
channel_ct debug::channels::dc::expression
 This debug channel is used for expression tracking.
channel_ct debug::channels::dc::maps
 This debug channel is used for nick/channel maps administration tracking.
channel_ct debug::channels::dc::clientinput
 This debug channel prints the raw string as received from the client.
channel_ct debug::channels::dc::serverinput
 This debug channel prints the raw string as received from the server.


Copyright © 2005-2007 Carlo Wood.  All rights reserved.