I can't inspect variables during debug anymore.
已回答
Hi.
I can't inspect variable values on the debugger console or by calling it in the console anymore. Please check that, since it is a tool's main feature.
Thanks
请先登录再写评论。
Hello,
Could you please specify your RubyMine, Ruby and debug gems' versions and also the steps you perform (a minimal code sample would be great)
Hi Olga, thanks for your reply.
I hope this video helps you out.
https://www.loom.com/share/9d883c4c8b4a4542a3df595bac38f285
RubyMine 2023.1
Build #RM-231.8109.174, built on March 28, 2023
Licensed to Celso Martins
Subscription is active until August 25, 2023.
Runtime version: 17.0.6+10-b829.5 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 13.3
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Metal Rendering is ON
Registry:
debugger.new.tool.window.layout=true
ide.experimental.ui=true
Non-Bundled Plugins:
me.alexjs.theme.darcula-liquid (2.7)
com.vecheslav.darculaDarkerTheme (1.2.0)
dev.patrickpichler.darculaPitchBlackTheme (1.0.0)
lermitage.jetbrains.darcula.sombre (1.11.0.192)
com.jetbrains.gerryPurpleTheme (2023.1.30)
com.vecheslav.darculaSolidTheme (1.0.3)
de.netnexus.camelcaseplugin (3.0.12)
It seems that I'm having problems with my debug gems, installed by RubyMine during the first debug call.
Any clue?
Thanks.
Thank you for such a detailed screencast. Do you have by chance `debug` gem in your Gemfile? If so, could you please comment it and try debugging again?
Thanks for the prompt reply and ongoing conversation.
Someone in the team, using VSCode, added the gem "debug" to the Gemfile, and it seems to be incompatible with the ones used by Rubymine.
Thank you again.
Great to know it works now. We also have a corresponding request on our tracker: https://youtrack.jetbrains.com/issue/RUBY-30722/Console-evaluation-resumes-debugger-stopped-at-the-breakpoint so you can add your vote there.