X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F07_Debugging.pod;h=65be2f0f343c1661e1ed6c7285ecb2eda836d11e;hp=25b56abdf73b8f645418b40d3c52b41423ce76e6;hb=477a6d5b13f55eb335979812080e4a11217f19d6;hpb=46b6662a1a8b9018b9495b75a6d5d1bfe1a7f342 diff --git a/lib/Catalyst/Manual/Tutorial/07_Debugging.pod b/lib/Catalyst/Manual/Tutorial/07_Debugging.pod index 25b56ab..65be2f0 100644 --- a/lib/Catalyst/Manual/Tutorial/07_Debugging.pod +++ b/lib/Catalyst/Manual/Tutorial/07_Debugging.pod @@ -59,6 +59,12 @@ L This chapter of the tutorial takes a brief look at the primary options available for troubleshooting Catalyst applications. +Source code for the tutorial in included in the F +directory of the Tutorial Virtual machine (one subdirectory per +chapter). There are also instructions for downloading the code in +L. + + Note that when it comes to debugging and troubleshooting, there are two camps: @@ -179,7 +185,7 @@ 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(/root/MyApp/script/../lib/MyApp/Controller/Books.pm:48): + MyApp::Controller::Books::list(/home/catalyst/MyApp/script/../lib/MyApp/Controller/Books.pm:48): 48: $c->stash->{books} = [$c->model('DB::Book')->all]; DB<1> @@ -191,7 +197,7 @@ C into methods/subroutines): DB<1> n SELECT me.id, me.title, me.rating, me.created, me.updated FROM book me: - MyApp::Controller::Books::list(/root/MyApp/script/../lib/MyApp/Controller/Books.pm:53): + MyApp::Controller::Books::list(/home/catalyst/MyApp/script/../lib/MyApp/Controller/Books.pm:53): 53: $c->stash->{template} = 'books/list.tt2'; DB<1>