Black Bytes » debugging http://www.blackbytes.info Ruby Programming Tutorials Mon, 21 Mar 2016 18:40:19 +0000 en-US hourly 1 http://wordpress.org/?v=4.3.3 Debugging your Ruby Programs http://www.blackbytes.info/2015/07/ruby-debugging/ http://www.blackbytes.info/2015/07/ruby-debugging/#comments Sun, 12 Jul 2015 14:20:53 +0000 http://www.blackbytes.info/?p=2018 How often does your program do exactly what you want the first time around? Many times our programs won’t work like you expect, so we have to use the art of debugging ruby to help us finding out why. You may be familiar with the following error message: [crayon-56f0e1542634f025265555/] As you know, this means that […]

The post Debugging your Ruby Programs appeared first on Black Bytes.

]]>
http://www.blackbytes.info/2015/07/ruby-debugging/feed/ 8
Ruby tracing – A useful debugging tool http://www.blackbytes.info/2012/06/ruby-tracing/ http://www.blackbytes.info/2012/06/ruby-tracing/#comments Sat, 02 Jun 2012 18:11:56 +0000 http://blackbytes.wordpress.com/?p=351 Tracing is following all the steps taken by a program, specially function calls/methods, this can be a useful debugging tool when tracking down some problems with your application. In Ruby we have a tracing tool built-in, we can invoke it with ruby -rtracer script.rb but as you can see here it’s not easy to tell […]

The post Ruby tracing – A useful debugging tool appeared first on Black Bytes.

]]>
http://www.blackbytes.info/2012/06/ruby-tracing/feed/ 1