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,837 of 183,021
Downloads: 205,831
Daily
Ranking: 3,811 of 183,007
Downloads: 1,281
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
8,768 | 317,190 | glimmer-dsl-swt |
11,010 | 199,312 | glimmer |
12,122 | 165,522 | glimmer-dsl-libui |
12,855 | 148,813 | strategic |
14,950 | 113,067 | super_module |
16,323 | 97,226 | glimmer-dsl-opal |
19,173 | 75,027 | glimmer-dsl-tk |
27,326 | 44,979 | perfect-shape |
30,877 | 38,001 | array_include_methods |
45,653 | 22,708 | rake-tui |
46,613 | 22,105 | ultra_light_wizard |
68,575 | 13,013 | glimmer-dsl-xml |
71,957 | 12,095 | bundler-download |
73,936 | 11,629 | glimmer-dsl-css |
81,970 | 9,929 | glimmer-dsl-gtk |
86,341 | 9,122 | glimmer-dsl-web |
91,010 | 8,354 | rvm-tui |
93,090 | 8,088 | pure-struct |
107,167 | 6,279 | glimmer-dsl-specification |
109,303 | 6,054 | glimmer-dsl-swing |
Depends on
Rank | Downloads | Name |
---|---|---|
1 | 2,395,445,721 | bundler |
15 | 933,871,997 | rspec-mocks |
25 | 816,166,900 | rspec |
157 | 236,412,142 | awesome_print |
210 | 167,054,214 | rdoc |
405 | 89,318,259 | logging |
4,062 | 1,853,841 | jeweler |
45,653 | 22,708 | rake-tui |
Owners
# | Gravatar | Handle |
---|---|---|
1 | AndyMaleh | |
2 | andy_maleh |