Re:Nim Programming Language 0.14.0 released
by michaelcampbell on Wednesday June 08, 2016 @11:30AM
(#11862875)
`printf` debugging is still often the easiest way to go.
[ Parent
| on HN ]
Re:Nim Programming Language 0.14.0 released
by PeCaN on Wednesday June 08, 2016 @01:28PM
(#11863938)
GDB looks intimidating, but once I decided to try it I'd never go back to printf debugging.
Re:Nim Programming Language 0.14.0 released
by michaelcampbell on Wednesday June 08, 2016 @04:11PM
(#11865269)
Oh yes, I've used it for many years (though many years ago). For me it depends on the size of the program and the compile time; if it's a short one and compiles quickly, I'll throw a print/puts/print/echo in there just to see what's going on.
Re:Nim Programming Language 0.14.0 released
by girvo on Wednesday June 08, 2016 @08:48PM
(#11866841)
That's what happens with "real" debuggers, in my experience! Though Codebug (for XDebug in PHP) is what did it for me, but now I'm using interactive debugging wherever I can. Beats the hell out of trying to print out variables.