Skip to content

Auto view rules for array views and resizable array in Jai do not work #345

@rjurga

Description

@rjurga

Auto view rule for array views and resizable arrays in Jai (e.g. [] int and [..] int) doesn't seem to take effect. I wanted these to be slice.

However, I got it working once by adding that auto view rule when not breaked or running. I can't get it to work anymore though. I don't know what I did differently the one time where I got it to work.

Slice does always seem to work directly as a view rule though (not auto). When I type it in the watch window, it works, it displays the result as a slice.

For a quick way to reproduce, you can go into the how_to directory distributed with Jai, run jai 004_arrays.jai to get an exe, run that exe in raddbg and break at line 123. There, you have a local array view c of type [] float. Trying to make an auto view rule for this type to slice doesn't seem to have any effect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA report of unintended or broken behavior.DebuggerPertains to the debugger.Missing SupportA request to support a currently unsupported case.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions