<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Time and Date: 24th November 2011 @ 6 PM</div><div><br></div><div><b>Introduction to the Perl Debugger</b></div><div><b><br></b></div><div>There will be a practical presentation of using the Perl debugger, covering:</div><div><br></div><div><ol class="MailOutline"><li>Before debugging</li><li>A quick tutorial</li><li>Debugger commands</li><ol><li>Help and quitting</li><li>Examining data</li><li>Listing code and searching</li><li>Motion</li><li>Actions, breakpoints and watchpoints</li><li>Shell and debug commands</li><li>Setting options</li></ol><li>We will have a brief look at debugging a card game</li><ol><li>Quickly by looking at a simplistic Golf card game that I wrote</li><li>Looking at the "klondike example game" (aka standard solitaire) that is part of the standard distribution of Games::Cards</li></ol><li>We will quickly mention what we've missed out</li><ol><li>The debugger is configurable to collapse (it is Unix/Perl) thus many options won't be discussed</li><li>The talk is geared more towards finding faults or investigating code than profiling</li><li>If your code uses XS natively or via another glue system such as SWIG and the external libraries fail, perhaps in the C/C++ code, debugging with 'gdb' is not covered</li></ol></ol><div><br></div><div>I gratefully acknowledge and recommend Richard Foley's "Perl Debugger Pocket Reference" published by O'Reilly (0596005032) from which much of the above outline is "borrowed".</div><div><br></div><div>The goal of the presentation is to get us familiar with the debugger to the extent where, instead of putting one (or more!) print or debug/trace level log statements we might feel comfortable enough to fire up the debugger and look at the problem with that perspective. The debugger, with its sometimes cryptic one word commands, can seem daunting but after seeing some of them in use hopefully we'll be inspired to try this out.</div></div><div><br></div><div><b>Location</b></div><div><b><br></b></div><div>The location will be announced in a follow up message.</div><div><br></div><div><br></div><div>Thanks,</div><div><br></div><div><br></div><div>DSL</div></body></html>