GX::Exception::StackTrace - Stack trace class
None.
This module provides the GX::Exception::StackTrace class.
new
Returns a new GX::Exception::StackTrace object.
$stack_trace = GX::Exception::StackTrace->new;
$stack_trace ( GX::Exception::StackTrace object )
$stack_trace
add
Adds the given stack frame objects to the stack.
$stack_trace->add( @frames );
@frames ( GX::Exception::StackTrace::Frame objects )
@frames
as_string
Returns a text representation of the stack strace.
$string = $stack_trace->as_string( $offset );
$offset ( integer ) [ optional ]
$offset
$string ( string )
$string
In list context, as_string() returns individual lines of text.
as_string()
@strings = $stack_trace->as_string( ... );
@strings ( strings )
@strings
build
Builds the stack trace.
$stack_trace->build( $offset );
frames
Returns a list with the individual stack frame objects.
@frames = $stack_trace->frames;
GX::Exception
GX::Exception::StackTrace::Frame
Jörg A. Uzarek <uzarek@runlevelnull.de>
Copyright (c) 2009-2011 Jörg A. Uzarek.
This module is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License Version 3 as published by the Free Software Foundation.
To install GX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GX
CPAN shell
perl -MCPAN -e shell install GX
For more information on module installation, please visit the detailed CPAN module installation guide.