Can't step into gem code

Answered

I have RubyMine 2020.3 on macOS 10.12.6.

I installed the latest debugger gems when prompted.

In my preferences: Build, Execution, Deployment > Debugger > Stepping > check box "Ignore non-project sources" is cleared.

The debugger lets me set breakpoints in gem code but never stops at the breakpoints.

Any ideas?

0
4 comments

Hello Peter,

could you please check whether the same happens in RubyMine 2020.3.3 Preview or 2021.1 EAP? If so then would it be possible to share a project sample for reproduce? In addition, which Ruby are you using, is it a local or remote one?

0

I just ran into this same issue after installing version 2024.1.1

RubyMine 2024.1.1
Build #RM-241.15989.113, built on April 24, 2024
Subscription is active until April 19, 2025.
Runtime version: 17.0.10+1-b1207.14 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.5
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 12
Metal Rendering is ON
Registry:
 debugger.watches.in.variables=false
 debugger.new.tool.window.layout=true
 ide.experimental.ui=true
Non-Bundled Plugins:
 com.intellij.ideolog (222.3.2.0)
 com.intellij.plugins.watcher (241.14494.150)
 name.kropp.intellij.makefile (241.14494.150)
 com.intellij.ml.llm (241.15989.156)
 

Downgrading to 2023.3.6 solved the problem.

RubyMine 2023.3.6
Build #RM-233.15026.14, built on March 21, 2024
Subscription is active until April 19, 2025.
Runtime version: 17.0.10+1-b1087.23 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.5
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 12
Metal Rendering is ON
Registry:
 debugger.watches.in.variables=false
 debugger.new.tool.window.layout=true
 ide.experimental.ui=true
Non-Bundled Plugins:
 com.intellij.ideolog (222.3.2.0)
 com.intellij.ml.llm (233.15026.24)
 

0

That appears to be similar to a known issue, so could you please take a look at it and try the workaround proposed there.

0

Thanks Olga - I found the workaround and was able to make it work.

0

Please sign in to leave a comment.