Debug::Trace instruments subroutines to provide tracing information upon every call and return.
Using Debug::Trace does not require any changes to your sources. Most often, it will be used from the command line:
perl -MDebug::Trace=foo,bar yourprogram.pl
This will have your subroutines foo() and bar() printing call and return information.
Subroutine names may be fully qualified to denote subroutines in other packages than the default main::.
By default, the trace information is output using the standard warn() function.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.05-bp156.3.1 info | GA Release | 2023-07-22 | 15 SP6 |
|
|
0.05-bp155.2.9 info | GA Release | 2023-05-17 | 15 SP5 |
|
|
0.05-bp154.1.19 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
0.05-bp153.1.14 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
0.05-bp152.3.13 info | GA Release | 2020-04-16 | 15 SP2 |
|
|
0.05-bp151.3.1 info | GA Release | 2019-07-17 | 15 SP1 |
|
|
0.05-bp151.2.12 info | GA Release | 2019-05-18 | 15 SP1 |
|
|
0.05-bp150.2.4 info | GA Release | 2018-07-30 | 15 |
|
|