X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=perl%2FDXDebug.pm;h=ca5339a154c5080c3f6f5074e4321f5f3442b783;hb=a00356d8ddf71026bce96389557f8093238e15d0;hp=08703d7c8230e49b780d71821d60cbd65719a1d4;hpb=83445c4f6ec6c885260944a9abe648aced399c40;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;