A typical debugger provides the ability to halt when specific conditions are encountered. It also offers sophisticated functions, such as running a program step by step, breaking or pausing the program for an examination based on breakpoints, and tracking the values of the variables at that state. RubyMotion Version 1.24 and above support debugging using GDB: the GNU project debugger (http://www.gnu.org/software/gdb/).
The RubyMotion debugger provides the following inbuilt debugging facilities:
It examines the problem when the program has stopped
It checks the value for the variables at a specific breakpoint
The RubyMotion compiler implements the DWARF debugging format's metadata for the Ruby language. This allows external programs, such as the debugger in our case, to retrieve source-level information about the RubyMotion application. The metadata is saved under a
.dSYMbundle file at the same level as the