Man pages sections > man3 > Aspect::Library::Breakpoint

Aspect::Library::Breakpoint - A breakpoint aspect

Aspect::Library::Breakpoint(3pm) User Contributed Perl Documentation Aspect::Library::Breakpoint(3pm)

NAME

Aspect::Library::Breakpoint - A breakpoint aspect

SYNOPSIS

  use Aspect;
  
  aspect Breakpoint => call qr/^Foo::refresh/;
  
  my $f1 = Foo->refresh_foo;
  my $f2 = Foo->refresh_bar;
  
  # The debugger will go into single statement mode for both methods

DESCRIPTION

"Aspect::Library::Breakpoint" is a reusable aspect for implementing breakpoints in the debugger in patterns that are more complex than the native debugger supports.

AUTHORS

Adam Kennedy <adamk@cpan.org> Copyright 2010 - 2013 Adam Kennedy.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2013-04-09 perl v5.14.2