• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
RailsGirls DC 2012 - Debugging
 

RailsGirls DC 2012 - Debugging

on

  • 241 views

High-level lightning talk covering some debugging techniques.

High-level lightning talk covering some debugging techniques.

Statistics

Views

Total Views
241
Views on SlideShare
238
Embed Views
3

Actions

Likes
0
Downloads
0
Comments
0

2 Embeds 3

https://twitter.com 2
http://www.hanrss.com 1

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    RailsGirls DC 2012 - Debugging RailsGirls DC 2012 - Debugging Presentation Transcript

    • DebuggingRailsGirls DC 2012Brock Wilcoxawwaiid@thelackthereof.org
    • DebuggingTroubleshootingProblem SolvingDetective Work
    • Describe the problem
    • Good bug reports collect these:• What are you trying to achieve?• Is this one issue or many?• Is this a code issue?• When did the issue start?• How often does it occur?• Is it reliably reproducable?• Are there test-steps?• Screenshot / Screencast?• Is there a work-around?
    • Reproduce the Problem
    • Reduce the Problem
    • Logging(warn "Here!")
    • Debugger
    • Test Case
    • Verify Assumptions
    • puts "right now person is set to:", person
    • Break It!
    • Compiler help(Read the Error Message)
    • One modification at a time
    • Never fix again
    • THE END