Date sent: Tue, 12 Aug 2008 21:01:34 +0530 From: "Amit Saxena" <[EMAIL PROTECTED]> To: Perl <beginners@perl.org> Subject: Complete program execution trace in Perl ! Copies to: "Amit Saxena" <[EMAIL PROTECTED]>
> Hello all, > > Is there a way through which I can get following information while executing > a perl program :- > > - Details of every argument passed to the subroutine and the value (if > any) returned from the subroutine See Devel::TraceSubs http://search.cpan.org/search?query=TraceSub&mode=module > - All the SQL statements printed (something like DBI_trace in perl) See the trace() method of DBI. Hopefully you do not have DBI->connect() that many times. > - Last but not the least, variable value (if possible) affected at > various statements I'm afraid you will either have to use a debuger or change the code to tie() the variables in question. See Devel::Spy http://search.cpan.org/search?query=Devel%3A%3ASpy&mode=module HTH, Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/