Skip to content

VS Code: Cannot plot Eigen member variable #1102

Open

Description

@saierd

Sorry if this is the wrong place, I could not find a separate issue tracker for the VS Code extension.

Environment (please complete the following information)

  • OID version (commit or tag): VS Code Extension 1.5.2, CodeLLDB 1.12.3

Describe the bug

When I try to plot a member variable which is an Eigen vector I get the error message:

OID: could not plot 'Class.BaseClass.member': no inspector matched 'Class.BaseClass.member'

In my case it is a member variable of the base class, not sure if that is relevant.

I can plot the same data type from a local variable.

Activity

  1. self-assigned this
    on Sep 17, 2026
  2. brunoalr commented on Sep 17, 2026

    @brunoalr
    Member

    Thanks for the report! This is currently the right place to get in touch right now since I haven't setup a separate repo for issues tracking yet.

    In my case it is a member variable of the base class, not sure if that is relevant.

    This sounds like a good first suspect indeed.

    Could you please share a minimal reproduction sample?

  3. saierd commented on Sep 17, 2026

    @saierd
    Author

    I tried to extract the situation from my program and it also happens with this small example:

    #include <Eigen/Core>
    
    struct Base {
    	Eigen::Vector3d baseMember;
    };
    
    struct Test : public Base {
    	void f() {
    		Eigen::Vector3d local;
    		// Break here.
    	}
    
    	Eigen::Vector3d member;
    };
    
    int main()
    {
    	Test().f();
    }

    When breaking in f, I can plot local and member, but baseMember gives

    OID: could not plot 'Base.baseMember': no inspector matched 'Base.baseMember'
    
  4. brunoalr commented on Sep 19, 2026

    @brunoalr
    Member

    thanks! on it now

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions