\Raven_Stacktrace

Small helper class to inspect the stacktrace

Summary

Methods
Properties
Constants
get_stack_info()
get_default_context()
get_frame_context()
$statements
No constants found
No protected methods found
No protected properties found
N/A
serialize_argument()
strip_prefixes()
read_source_file()
No private properties found
N/A

Properties

$statements

$statements : 

Type

Methods

get_stack_info()

get_stack_info(  $frames,   $trace = false,   $errcontext = null,   $frame_var_limit = \Raven_Client::MESSAGE_LIMIT,   $strip_prefixes = null,   $app_path = null,   $excluded_app_paths = null, \Raven_Serializer  $serializer = null, \Raven_ReprSerializer  $reprSerializer = null) 

Parameters

$frames
$trace
$errcontext
$frame_var_limit
$strip_prefixes
$app_path
$excluded_app_paths
\Raven_Serializer $serializer
\Raven_ReprSerializer $reprSerializer

get_default_context()

get_default_context(  $frame,   $frame_arg_limit = \Raven_Client::MESSAGE_LIMIT) 

Parameters

$frame
$frame_arg_limit

get_frame_context()

get_frame_context(  $frame,   $frame_arg_limit = \Raven_Client::MESSAGE_LIMIT) 

Parameters

$frame
$frame_arg_limit

serialize_argument()

serialize_argument(  $arg,   $frame_arg_limit) 

Parameters

$arg
$frame_arg_limit

strip_prefixes()

strip_prefixes(  $filename,   $prefixes) 

Parameters

$filename
$prefixes

read_source_file()

read_source_file(  $filename,   $lineno,   $context_lines = 5) 

Parameters

$filename
$lineno
$context_lines