I'm looking for more out of the death of my poor programs...

I want more than a simple confession -- i.e. while my 'subjects' usually confess when they 'expire', their ramblings, while tracing back their route in their final moments, don't give me much insight into what parameters influenced them to take that route.

They are less than effusive, with cryptic utterings like '<OBJECT>=HASH(0x1d64930)' and 'ARRAY(0x1d41518)', which I'm sure contain the secrets that lead to their death, if only they could be deciphered.

Unfortunately, without the context contained in their minds as they spout these codes, they are nothing more than random numbers.

I've used interrogation methods on live "subjects", like "Data::Dumper" to interpret such codes, when I've prepped the "subjects" sufficiently beforehand, and was wondering what it would take to equip my 'agents' with an enhanced confession that would decipher those cryptic parameters that accompanied their final path.

Is this something I would have to construct on my own from scratch, or does anyone know of such modular tools out in the great SPAN of C that might be of assistance in this task?

[In case the above wasn't clear! ;-) Anyone know of a confess that does a Data::Dumper equiv on the params that are displayed in a confess stack backtrace when a program dies? ;-) Hey, I'm trying for some artistic problem statement here! ]

Thanks much sistren and brethren of the "one true^h^h^h^h^h^h^h^h^h"infinitely diverse" Perl path....


In reply to Expanded death option(s)? by perl-diddler

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.