Jon Portnoy > Bot-Cobalt > Bot::Cobalt::Plugin::Extras::Debug

Download:
Bot-Cobalt-0.017007.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.017007   Source  

NAME ^

Bot::Cobalt::Plugin::Extras::Debug - Dump internal state information

SYNOPSIS ^

  !plugin load Bot::Cobalt::Plugin::Extras::Debug

  # Dump full config hash to log:
  !dumpcfg

  # Dump langset to log:
  !dumplangset

  # Dump server state to log:
  !dumpservers

  # Dump miscellaneous state (core->State) to log:
  !dumpstate

  # Dump current timer pool to log:
  !dumptimers

  # Dump memory state for inspection (requires Devel::MAT):
  !dumpheap

DESCRIPTION ^

This is a simple development tool allowing developers to dump the current contents of various core attributes to STDOUT for inspection.

All commands are restricted to superusers.

References are displayed using Data::Dumper.

Dumping memory state requires Devel::MAT.

AUTHOR ^

Jon Portnoy <avenj@cobaltirc.org>

http://www.cobaltirc.org

syntax highlighting: