X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2FDebugging.pod;h=b03f2a76e4d15b7c1f4aeab6cec96ba209c15efd;hp=6aef0e7f3fc84c24131d8eae0be61fd1bc4abe64;hb=028b4e1a01c7fee31bcee0c3b44cb12958b61222;hpb=94d8da411a980c822af29da44d4cbf62a72c25c1 diff --git a/lib/Catalyst/Manual/Tutorial/Debugging.pod b/lib/Catalyst/Manual/Tutorial/Debugging.pod index 6aef0e7..b03f2a7 100644 --- a/lib/Catalyst/Manual/Tutorial/Debugging.pod +++ b/lib/Catalyst/Manual/Tutorial/Debugging.pod @@ -139,12 +139,12 @@ This will start the interactive debugger and produce output similar to: $ perl -d script/myapp_server.pl - Loading DB routines from perl5db.pl version 1.27 + Loading DB routines from perl5db.pl version 1.3 Editor support available. Enter h or `h h' for help, or `man perldebug' for more help. - main::(script/myapp_server.pl:14): my $debug = 0; + main::(script/myapp_server.pl:16): my $debug = 0; DB<1> @@ -158,8 +158,8 @@ in. Once the breakpoint is encountered in the C method, the console session running the development server will drop to the Perl debugger prompt: - MyApp::Controller::Books::list(/home/me/MyApp/script/../lib/MyApp/Controller/Books.pm:40): - 40: $c->stash->{books} = [$c->model('DB::Books')->all]; + MyApp::Controller::Books::list(/home/me/MyApp/script/../lib/MyApp/Controller/Books.pm:48): + 48: $c->stash->{books} = [$c->model('DB::Books')->all]; DB<1> @@ -170,8 +170,8 @@ C into methods/subroutines): DB<1> n SELECT me.id, me.authors, me.title, me.rating FROM books me: - MyApp::Controller::Books::list(/home/me/MyApp/script/../lib/MyApp/Controller/Books.pm:44): - 44: $c->stash->{template} = 'books/list.tt2'; + MyApp::Controller::Books::list(/home/me/MyApp/script/../lib/MyApp/Controller/Books.pm:53): + 53: $c->stash->{template} = 'books/list.tt2'; DB<1> @@ -185,15 +185,11 @@ Next, list the methods available on our C model: () (0+ (bool - MODIFY_CODE_ATTRIBUTES - _attr_cache - _collapse_result - _construct_object - _count - _result_class_accessor - _result_source_accessor - all - carp + __source_handle_accessor + _add_alias + _build_unique_query + _calculate_score + _collapse_cond DB<2>