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;fp=lib%2FCatalyst%2FManual%2FTutorial%2FDebugging.pod;h=90222e96f1dd7e58b1b650a1acda2d97fa4c2adb;hp=6a2d9427ba6efb07ff439fc6cc1ac2ad4bdeae7f;hb=d04961970a25ec3dc831f89be5cd6e27fdec884a;hpb=056394af33148bedf19220d5f4934bf2615d84e8 diff --git a/lib/Catalyst/Manual/Tutorial/Debugging.pod b/lib/Catalyst/Manual/Tutorial/Debugging.pod index 6a2d942..90222e9 100644 --- a/lib/Catalyst/Manual/Tutorial/Debugging.pod +++ b/lib/Catalyst/Manual/Tutorial/Debugging.pod @@ -116,7 +116,7 @@ you can obviously indent them if you prefer): # Retrieve all of the book records as book model objects and store in the # stash where they can be accessed by the TT template - $c->stash->{books} = [$c->model('MyAppDB::Books')->all]; + $c->stash->{books} = [$c->model('DB::Books')->all]; # Set the TT template to use. You will almost always want to do this # in your action methods. @@ -126,6 +126,8 @@ you can obviously indent them if you prefer): This causes the Perl Debugger to enter "single step mode" when this command is encountered (it has no effect when Perl is run without the C<-d> flag). +B The C here is the Perl Debugger, not the DB model. + To now run the Catalyst development server under the Perl debugger, simply prepend C to the front of C