Yousef said:
hi everybody
I a new in Ruby Programming , I want to know what are the benefits of
using Debugging technique.
by create breakpoint ..........
A breakpoint allows you to stop execution of your code inside a debugger, and
thus you can inspect variables, the call stack and execution flow to determine
where the code is not executing as you might expect it to.
You can also step through the execution of your code one line at a time after
the breakpoint, step into and over function call, inspect return values, and a
lot more.
debugging is (usually) used to analyze code to fix bugs, but you can also use a
debugger to gain deeper knowledge of code someone else wrote.
--
Kind Regards,
Rajinder Yadav
http://DevMentor.org
Do Good ~ Share Freely