Skip to content

VSCode (Invalid variable attributes) and RubyMine (Collecting data...) stuck in Variables section #206

Description

@ttemrahcelik

Hello,

I'm using VSCode 1.51.1 and RubyMine 2020.1.4, ruby-debug-ide-0.7.2 and debase-0.2.5.beta1.

This is my VSCode launch config for reference:

{
  "name": "rdebug-ide",
  "type": "Ruby",
  "request": "attach",
  "remoteHost": "127.0.0.1",
  "remotePort": "1234",
  "remoteWorkspaceRoot": "${workspaceRoot}",
  "cwd": "${workspaceRoot}"
},

I start the Rails server using the command below:

rdebug-ide -- bin/rails s -b <ip_address_here>

When I hit a breakpoint, all I see in Variables section of VSCode is this:

Screen Shot 2020-11-15 at 23 51 00

Similarly, RubyMine is stuck like this (it even freezes the Rails server using RubyMine):

Screen Shot 2020-11-16 at 00 06 11

Same variables can be added to the Watch section of VSCode without any problems.

Also, a custom fork of ruby-debug-ide that RubyMine uses internally (experimental mode) works just fine, even with VSCode.

Thank you.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions