The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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