Steve Price > Linux-DVB-DVBT-Apps-QuartzPVR > Linux::DVB::DVBT::Apps::QuartzPVR::Base::DbgTrace

Download:
Linux-DVB-DVBT-Apps-QuartzPVR-0.07.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.002   Source  

NAME ^

Linux::DVB::DVBT::Apps::QuartzPVR::Base::DbgTrace - TVGuide debug trace

SYNOPSIS ^

use Linux::DVB::DVBT::Apps::QuartzPVR::Schedule ;

DESCRIPTION ^

Trace through the recording IDs (RIDs) and each of the processing steps that are taken for them. This allows me to see where/why a recording request does not make it into the cron job.

Trace HASH is of the form:

        'state' => {                                                    # Useful (?) state info
                
                'fn'            => current function name
        },
        
        'rids'  => {                                                    # Trace of all the record IDs
                
                $rid    => {                                            # info for this rid
                        'info'  => $record_href,                # HASH ref for this recording
                        'trace' => [                                    # Trace details for each function
                        
                                {                                                       # A HASH entry for function call
                                        'fn'    => $fn,
                                        'info'  => [                    # List of information for this function
                                                { ... },
                                                { ... },
                                        ],
                                },
                                ...             
                        ],
                        
                },
                ...
        },

DIAGNOSTICS ^

Setting the debug flag to level 1 prints out (to STDOUT) some debug messages, setting it to level 2 prints out more verbose messages.

AUTHOR ^

Steve Price

BUGS ^

None that I know of!

INTERFACE ^

trace_flag($trace_flag)

Set of clear the trace flag

syntax highlighting: