Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rubymine debugger slow

Tags:

rubymine

Rubymine 7.1 (build RM# 141.644) debugger on a rails 4.1.10 project is very slow. Rendering pages takes +12 seconds.

I've tried setting my JVM properties as described here but its still super slow. Here are my settings:

cat rubymine.vmoptions
-Xms1024m
-Xmx1024m
-XX:MaxPermSize=250m
-XX:+UseCompressedOops 

Any other suggestions would be welcome. Thanks!

like image 539
mawaldne Avatar asked Apr 27 '15 16:04

mawaldne


People also ask

Why is IntelliJ debugger so slow?

Debugger performance can be affected by the following: Method breakpoints will slow down debugger a lot because of the JVM design, they are expensive to evaluate. Remove method breakpoints and consider using the regular line breakpoints. To verify that you don't have any method breakpoints open .

How do I delete all debug points in IntelliJ?

Remove breakpoints For all breakpoints: from the main menu, select Run | View Breakpoints Ctrl+Shift+F8 , select the breakpoint, and click Remove Delete .

What are method breakpoints?

Method breakpoints act in response to the program entering or exiting a particular method. They let you target your debugging sessions by method you wish to investigate, rather than by line number. Method breakpoints let you follow the program flow at the method level as well as check entry and exit conditions.

How do I edit IntelliJ configuration?

From the main menu, select Run | Edit Configurations. Alternatively, press Alt+Shift+F10 , then 0 . In the left-hand pane of the run/debug configuration dialog, click Edit configuration templates…. In the Run/Debug Configuration Templates dialog that opens, select a configuration type.


1 Answers

There's a slightly experimental release for OSX Yosemite that is quite a bit faster.

They say, "This alternative RubyMine 7.1 distribution bundles JDK 1.8 customized by the JetBrains team for better performance. Please note this non-default option may contain some issues."

https://www.jetbrains.com/ruby/download/

like image 182
Rick Cotter Avatar answered Jan 23 '23 09:01

Rick Cotter