Skip to content

Types window cannot find any Odin defined types #916

Description

@RoryO

This happens with both Linux and Windows generated RDI files.

Given a small Odin reproduction

package rad_test

import "core:fmt"

Foo :: struct
{
    a: u64,
    b: string
}

Bar :: enum
{
    First,
    Second,
}

Baz :: union
{
    Foo,
    Bar
}

main :: proc()
{
    f: Foo = { a = 100 }
    b: Bar = .Second
    bz: Baz = f
    bzz: Baz = b
    fmt.printf("{} {} {} {}", f.a, b, bz, bzz)
    for {}
}

Building this with odin build . -debug, the types window cannot find any Odin defined types. The names are present, the definitions are missing.

Image

Interestingly they do display in reverse, such as within a watch window.

Image

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

    BugA report of unintended or broken behavior.DebuggerPertains to the debugger.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions