X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXDebug.pm;h=ca5339a154c5080c3f6f5074e4321f5f3442b783;hb=f6abc902d49e13eeca3ff50f84a74f28a3aa3390;hp=08703d7c8230e49b780d71821d60cbd65719a1d4;hpb=55483e59b83bd5c514303f0955be5e0dddcbc320;p=spider.git diff --git a/perl/DXDebug.pm b/perl/DXDebug.pm index 08703d7c..ca5339a1 100644 --- a/perl/DXDebug.pm +++ b/perl/DXDebug.pm @@ -8,6 +8,19 @@ # To allow debugging of a category (e.g. 'chan') but not onto disc (just into the ring buffer) # do: set/debug chan nologchan # +# To print the current contents into the debug log: show/debug_ring +# +# On exit or serious error the ring buffer is printed to the current debug log +# +# In Progress: +# Expose a localhost listener on port (default) 27755 to things like watchdbg so that they can carry on +# as normal, possibly with a "remember" button to permanently capture stuff observed. +# +# Future: +# This is likely to be some form of triggering or filtering controlling (some portion +# of) ring_buffer dumping. +# +# package DXDebug;