RubyMine 7.0.0 Web Help

This section describes the procedures that are common for various types of applications.

For details related to debugging applications in the supported frameworks, refer to Language and Framework-Specific Guidelines



Debugging in RubyMine does not require any additional gems. However, if there is debugger gem in your Gemfile, RubyMine checks whether debugger-xml gem is also present.

If the debugger-xml gem is missing in the Gemfile, this can cause problems. Therefore, RubyMine suggests to included debugger-xml to the Gemfile, to avoid conflict between the debugger gem, and the debugging gems used by RubyMine by default.

To debug an application, perform the following general steps
  1. Configure debugger options.
  2. Define a run/debug configuration for the application to be debugged.
  3. Create breakpoints in the source code.
  4. Launch a debugging session.
  5. Pause or resume the debugging session as required.
  6. During the debugger session, step through the breakpoints, evaluate expressions, change values on-the-fly , examine suspended program, explore frames, and set watches .

See Also



Web Resources: