Categories: None [Edit]
puts_debuggerer
Debuggers are great! They help us troubleshoot complicated programming problems by inspecting values produced by code, line by line. They are invaluable when trying to understand what is going on in a large application composed of thousands or millions of lines of code.
In day-to-day test-driven development and simple debugging though, a puts statement can be a lot quicker in revealing what is going on than halting execution completely just to inspect a single value or a few. This is certainly true when writing the simplest possible code that could possibly work, and running a test every few seconds or minutes. Problem is you need to locate puts statements in large output logs, know which file names, line numbers, classes, and methods contained the puts statements, find out what variable names are being printed, and see nicely formatted output. Enter puts_debuggerer. A guilt-free puts debugging Ruby gem FTW that prints file names, line numbers, class names, method names, and code statements; and formats output nicely courtesy of awesome_print.
Partially inspired by this blog post: https://tenderlovemaking.com/2016/02/05/i-am-a-puts-debuggerer.html (Credit to Tenderlove.)
Total
Ranking: 10,144 of 183,471
Downloads: 238,516
Daily
Ranking: 5,667 of 183,459
Downloads: 189
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
8,802 | 320,215 | glimmer-dsl-swt |
11,036 | 201,274 | glimmer |
12,132 | 168,090 | glimmer-dsl-libui |
12,339 | 162,850 | strategic |
15,017 | 113,673 | super_module |
16,359 | 97,982 | glimmer-dsl-opal |
19,195 | 75,790 | glimmer-dsl-tk |
26,994 | 46,142 | perfect-shape |
30,073 | 39,685 | array_include_methods |
45,227 | 23,207 | rake-tui |
46,713 | 22,224 | ultra_light_wizard |
68,414 | 13,161 | glimmer-dsl-xml |
71,882 | 12,215 | bundler-download |
73,422 | 11,826 | glimmer-dsl-css |
81,807 | 10,047 | glimmer-dsl-gtk |
83,760 | 9,668 | glimmer-dsl-web |
90,944 | 8,428 | rvm-tui |
93,251 | 8,130 | pure-struct |
107,075 | 6,343 | glimmer-dsl-specification |
109,144 | 6,119 | glimmer-dsl-swing |
Depends on
Rank | Downloads | Name |
---|---|---|
1 | 2,455,829,279 | bundler |
15 | 945,198,516 | rspec-mocks |
25 | 824,998,340 | rspec |
158 | 239,468,119 | awesome_print |
210 | 172,448,676 | rdoc |
411 | 90,151,626 | logging |
4,088 | 1,860,804 | jeweler |
45,227 | 23,207 | rake-tui |
Owners
# | Gravatar | Handle |
---|---|---|
1 | andy_maleh | |
2 | AndyMaleh |