r26488 - in /trunk/libdevel-ebug-perl: CHANGES META.yml Makefile.PL README debian/changelog lib/Devel/ebug.pm lib/Devel/ebug/Backend.pm

ghostbar-guest at users.alioth.debian.org ghostbar-guest at users.alioth.debian.org
Sun Nov 2 02:54:45 UTC 2008


Author: ghostbar-guest
Date: Sun Nov  2 02:54:42 2008
New Revision: 26488

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=26488
Log:
New upstream release

Modified:
    trunk/libdevel-ebug-perl/CHANGES
    trunk/libdevel-ebug-perl/META.yml
    trunk/libdevel-ebug-perl/Makefile.PL
    trunk/libdevel-ebug-perl/README
    trunk/libdevel-ebug-perl/debian/changelog
    trunk/libdevel-ebug-perl/lib/Devel/ebug.pm
    trunk/libdevel-ebug-perl/lib/Devel/ebug/Backend.pm

Modified: trunk/libdevel-ebug-perl/CHANGES
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-ebug-perl/CHANGES?rev=26488&op=diff
==============================================================================
--- trunk/libdevel-ebug-perl/CHANGES (original)
+++ trunk/libdevel-ebug-perl/CHANGES Sun Nov  2 02:54:42 2008
@@ -1,4 +1,7 @@
 Revision history for Perl module Devel::ebug
+
+0.49 Thu Oct 16 20:07:34 BST 2008
+     - Add a human-readable license to the documentation
 
 0.48 Mon Apr 30 20:37:06 CEST 2007
      - Added ebug-server(1), a remote debugger server

Modified: trunk/libdevel-ebug-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-ebug-perl/META.yml?rev=26488&op=diff
==============================================================================
--- trunk/libdevel-ebug-perl/META.yml (original)
+++ trunk/libdevel-ebug-perl/META.yml Sun Nov  2 02:54:42 2008
@@ -1,8 +1,78 @@
---- #YAML:1.0
+---
 name: Devel-ebug
-version: 0.48
+version: 0.49
 author:
-  - Leon Brocard, C<< <acme at astray.com> >>
-abstract: A simple, extensible Perl debugger
+  - 'Leon Brocard, C<< <acme at astray.com> >>'
+abstract: 'A simple, extensible Perl debugger'
 license: perl
-generated_by: Module::Build version 0.2612, without YAML.pm
+resources:
+  license: http://dev.perl.org/licenses/
+requires:
+  Carp: 0
+  Class::Accessor::Chained::Fast: 0
+  Devel::StackTrace: 0
+  File::Find: 0
+  IO::Socket::INET: 0
+  Module::Pluggable: 0
+  PadWalker: 0
+  Proc::Background: 0
+  Scalar::Util: 0
+  String::Koremutake: 0
+  Test::Expect: 0
+  Test::More: 0
+  YAML::Syck: 0.85
+provides:
+  DB:
+    file: lib/Devel/ebug/Backend.pm
+    version: 0.49
+  DB::fake:
+    file: lib/Devel/ebug/Backend.pm
+  Devel::ebug:
+    file: lib/Devel/ebug.pm
+    version: 0.49
+  Devel::ebug::Backend::Plugin::ActionPoints:
+    file: lib/Devel/ebug/Backend/Plugin/ActionPoints.pm
+  Devel::ebug::Backend::Plugin::Basic:
+    file: lib/Devel/ebug/Backend/Plugin/Basic.pm
+  Devel::ebug::Backend::Plugin::Codelines:
+    file: lib/Devel/ebug/Backend/Plugin/Codelines.pm
+  Devel::ebug::Backend::Plugin::Commands:
+    file: lib/Devel/ebug/Backend/Plugin/Commands.pm
+  Devel::ebug::Backend::Plugin::Eval:
+    file: lib/Devel/ebug/Backend/Plugin/Eval.pm
+  Devel::ebug::Backend::Plugin::Filenames:
+    file: lib/Devel/ebug/Backend/Plugin/Filenames.pm
+  Devel::ebug::Backend::Plugin::Output:
+    file: lib/Devel/ebug/Backend/Plugin/Output.pm
+  Devel::ebug::Backend::Plugin::Pad:
+    file: lib/Devel/ebug/Backend/Plugin/Pad.pm
+  Devel::ebug::Backend::Plugin::Ping:
+    file: lib/Devel/ebug/Backend/Plugin/Ping.pm
+  Devel::ebug::Backend::Plugin::Run:
+    file: lib/Devel/ebug/Backend/Plugin/Run.pm
+  Devel::ebug::Backend::Plugin::StackTrace:
+    file: lib/Devel/ebug/Backend/Plugin/StackTrace.pm
+  Devel::ebug::Console:
+    file: lib/Devel/ebug/Console.pm
+  Devel::ebug::Plugin::ActionPoints:
+    file: lib/Devel/ebug/Plugin/ActionPoints.pm
+  Devel::ebug::Plugin::Basic:
+    file: lib/Devel/ebug/Plugin/Basic.pm
+  Devel::ebug::Plugin::Codelines:
+    file: lib/Devel/ebug/Plugin/Codelines.pm
+  Devel::ebug::Plugin::Eval:
+    file: lib/Devel/ebug/Plugin/Eval.pm
+  Devel::ebug::Plugin::Filenames:
+    file: lib/Devel/ebug/Plugin/Filenames.pm
+  Devel::ebug::Plugin::Output:
+    file: lib/Devel/ebug/Plugin/Output.pm
+  Devel::ebug::Plugin::Pad:
+    file: lib/Devel/ebug/Plugin/Pad.pm
+  Devel::ebug::Plugin::Run:
+    file: lib/Devel/ebug/Plugin/Run.pm
+  Devel::ebug::Plugin::StackTrace:
+    file: lib/Devel/ebug/Plugin/StackTrace.pm
+generated_by: Module::Build version 0.280801
+meta-spec:
+  url: http://module-build.sourceforge.net/META-spec-v1.2.html
+  version: 1.2

Modified: trunk/libdevel-ebug-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-ebug-perl/Makefile.PL?rev=26488&op=diff
==============================================================================
--- trunk/libdevel-ebug-perl/Makefile.PL (original)
+++ trunk/libdevel-ebug-perl/Makefile.PL Sun Nov  2 02:54:42 2008
@@ -1,6 +1,6 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.03
+# Note: this file was auto-generated by Module::Build::Compat version 0.2808_01
     use Module::Build::Compat 0.02;
-    use lib '_build/lib';
+    
     Module::Build::Compat->run_build_pl(args => \@ARGV);
     require Module::Build;
     Module::Build::Compat->write_makefile(build_class => 'Module::Build');

Modified: trunk/libdevel-ebug-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-ebug-perl/README?rev=26488&op=diff
==============================================================================
--- trunk/libdevel-ebug-perl/README (original)
+++ trunk/libdevel-ebug-perl/README Sun Nov  2 02:54:42 2008
@@ -16,15 +16,19 @@
       $ebug->step;
       $ebug->next;
       my($stdout, $stderr) = $ebug->output;
-      $ebug->break_point(6);
+      my $actual_line = $ebug->break_point(6);
       $ebug->break_point(6, '$e = 4');
       $ebug->break_point("t/Calc.pm", 29);
       $ebug->break_point("t/Calc.pm", 29, '$i == 2');
-      $ebug->break_point_subroutine("main::add");
+      my $actual_line = $ebug->break_point_subroutine("main::add");
       $ebug->break_point_delete(29);
       $ebug->break_point_delete("t/Calc.pm", 29);
       my @filenames    = $ebug->filenames();
       my @break_points = $ebug->break_points();
+      my @break_points = $ebug->break_points("t/Calc.pm");
+      my @break_points = $ebug->break_points_with_condition();
+      my @break_points = $ebug->break_points_with_condition("t/Calc.pm");
+      my @break_points = $ebug->all_break_points_with_condition();
       $ebug->watch_point('$x > 100');
       my $codelines = $ebug->codelines(@span);
       $ebug->run;
@@ -34,6 +38,7 @@
         print "Variable: $k = $v\n";
       }
       my $v = $ebug->eval('2 ** $exp');
+      my( $v, $is_exception ) = $ebug->eval('die 123');
       my $y = $ebug->yaml('$z');
       my @frames = $ebug->stack_trace;
       my @frames2 = $ebug->stack_trace_human;
@@ -102,21 +107,26 @@
 
     A break point can be set at a line number in the current file:
 
-      $ebug->break_point(6);
+      my $actual_line = $ebug->break_point(6);
 
     A break point can be set at a line number in the current file with a
     condition that must be true for execution to stop at the break point:
 
-      $ebug->break_point(6, '$e = 4');
+      my $actual_line = $ebug->break_point(6, '$e = 4');
 
     A break point can be set at a line number in a file:
 
-      $ebug->break_point("t/Calc.pm", 29);
+      my $actual_line = $ebug->break_point("t/Calc.pm", 29);
 
     A break point can be set at a line number in a file with a condition
     that must be true for execution to stop at the break point:
 
-      $ebug->break_point("t/Calc.pm", 29, '$i == 2');
+      my $actual_line = $ebug->break_point("t/Calc.pm", 29, '$i == 2');
+
+    Breakpoints can not be set on some lines (for example comments); in this
+    case a breakpoint will be set at the next breakable line, and the line
+    number will be returned. If no such line exists, no breakpoint is set
+    and the function returns "undef".
 
   break_point_delete
     The break_point_delete method deletes an existing break point. A break
@@ -133,14 +143,46 @@
     at the beginning of the subroutine. The subroutine is specified with the
     full package name:
 
-      $ebug->break_point_subroutine("main::add");
+      my $line = $ebug->break_point_subroutine("main::add");
       $ebug->break_point_subroutine("Calc::fib");
 
+    The return value is the line at which the break point is set.
+
   break_points
-    The break_points method returns a list of all the line numbers in the
-    current file that have a break point set.
+    The break_points method returns a list of all the line numbers in a
+    given file that have a break point set.
+
+    Return the list of breakpoints in the current file:
 
       my @break_points = $ebug->break_points();
+
+    Return the list of breakpoints in a given file:
+
+      my @break_points = $ebug->break_points("t/Calc.pm");
+
+  break_points_with_condition
+    The break_points method returns a list of break points for a given file.
+
+    Return the list of breakpoints in the current file:
+
+      my @break_points = $ebug->break_points_with_condition();
+
+    Return the list of breakpoints in a given file:
+
+      my @break_points = $ebug->break_points_with_condition("t/Calc.pm");
+
+    Each element of the list has the form
+
+      { filename  => "t/Calc.pm",
+        line      => 29,
+        condition => "$foo > 12",
+        }
+
+    where "condition" might not be present.
+
+  all_break_points_with_condition
+    Like "break_points_with_condition" but returns a list of break points
+    for the whole program.
 
   codeline
     The codeline method returns the line of code that is just about to be
@@ -169,9 +211,14 @@
 
   eval
     The eval method evaluates Perl code in the current program and returns
-    the result:
+    the result. If the evalutation results in an exception, $@ is returned.
 
       my $v = $ebug->eval('2 ** $exp');
+
+    In list context, eval also returns a flag indicating if the evalutation
+    resulted in an exception.
+
+      my( $v, $is_exception ) = $ebug->eval('die 123');
 
   filename
     The filename method returns the filename of the currently running code:
@@ -306,8 +353,9 @@
     Leon Brocard, "<acme at astray.com>"
 
 COPYRIGHT
-    Copyright (C) 2005, Leon Brocard
-
+    Copyright (C) 2005-8, Leon Brocard
+
+LICENSE
     This module is free software; you can redistribute it or modify it under
     the same terms as Perl itself.
 

Modified: trunk/libdevel-ebug-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-ebug-perl/debian/changelog?rev=26488&op=diff
==============================================================================
--- trunk/libdevel-ebug-perl/debian/changelog (original)
+++ trunk/libdevel-ebug-perl/debian/changelog Sun Nov  2 02:54:42 2008
@@ -1,4 +1,4 @@
-libdevel-ebug-perl (0.48-4) UNRELEASED; urgency=low
+libdevel-ebug-perl (0.49-1) UNRELEASED; urgency=low
 
   [ Martín Ferrari ]
   * Updating my email address
@@ -7,7 +7,10 @@
   * Add debian/README.source to document quilt usage, as required by
     Debian Policy since 3.8.0.
 
- -- Martín Ferrari <tincho at debian.org>  Fri, 13 Jun 2008 00:04:47 +0000
+  [ Jose Luis Rivas ]
+  * (NOT RELEASED YET) New upstream release
+
+ -- Jose Luis Rivas <ghostbar38 at gmail.com>  Sat, 01 Nov 2008 22:23:20 -0430
 
 libdevel-ebug-perl (0.48-3) unstable; urgency=low
 

Modified: trunk/libdevel-ebug-perl/lib/Devel/ebug.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-ebug-perl/lib/Devel/ebug.pm?rev=26488&op=diff
==============================================================================
--- trunk/libdevel-ebug-perl/lib/Devel/ebug.pm (original)
+++ trunk/libdevel-ebug-perl/lib/Devel/ebug.pm Sun Nov  2 02:54:42 2008
@@ -15,7 +15,7 @@
     program socket proc
     package filename line codeline subroutine finished));
 
-our $VERSION = "0.48";
+our $VERSION = "0.49";
 
 # let's run the code under our debugger and connect to the server it
 # starts up
@@ -500,7 +500,9 @@
 
 =head1 COPYRIGHT
 
-Copyright (C) 2005, Leon Brocard
+Copyright (C) 2005-8, Leon Brocard
+
+=head1 LICENSE
 
 This module is free software; you can redistribute it or modify it
 under the same terms as Perl itself.

Modified: trunk/libdevel-ebug-perl/lib/Devel/ebug/Backend.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-ebug-perl/lib/Devel/ebug/Backend.pm?rev=26488&op=diff
==============================================================================
--- trunk/libdevel-ebug-perl/lib/Devel/ebug/Backend.pm (original)
+++ trunk/libdevel-ebug-perl/lib/Devel/ebug/Backend.pm Sun Nov  2 02:54:42 2008
@@ -7,7 +7,7 @@
 use Module::Pluggable
   search_path => 'Devel::ebug::Backend::Plugin',
   require     => 1;
-our $VERSION = "0.48";
+our $VERSION = "0.49";
 
 use vars qw(@dbline %dbline);
 




More information about the Pkg-perl-cvs-commits mailing list