Devel-DebugInit
view release on metacpan or search on metacpan
DebugInit.pm view on Meta::CPAN
This module also requires both the C::Scan and Data::Flow modules and
will not function without them.
=head1 WHY CARE?
Debugger initialization files can contain user-defined functions that
make doing complicated or repetitive actions easier. Normally, from
within the debugger a user can evaluate any C function call. But for a
number of reasons, many projects use C preprocessor macros (#define
statements) in place of an actual C function call. The use of macros
instead of function calls is transparent during compilation, but most
debuggers do not allow access to macros, and so the user must type in
the code by hand each time s/he wants to use a macro, or must build an
initialization file by hand. Retyping is tedious, but hand coding the
initialization file may result in antiquated code when the project changes. By
automating the process, I hope to alleviate a few headaches for
developers.
There are two types of macros: macros with arguments, e.g:
#define min(x,y) ((x) < (y) ? (x) : (y))
( run in 0.357 second using v1.01-cache-2.11-cpan-0a6323c29d9 )