Skip to content

[BUG] Instead of value of item 100 value for item 0 is shown in debugger for list & bytes #372

Closed
@WisniewskiP

Description

@WisniewskiP

Describe the bug
Instead of value of item 100 value of item 0 is shown in debugger for list & bytes. see screenshot

Steps To Reproduce
run the test and look at ${list} and ${bytes} in debugger

*** Settings ***
Library    Collections
*** Test Cases ***
test
    ${list} =     Create List
    FOR  ${i}  IN RANGE  200
        Append To List    ${list}    ${i}
    END
    Log To Console  ${list}
    ${bytes} =    Convert To Bytes    ${list}
    Log To Console    ${bytes}

in the console you can see that values in list are from 0 to 199
in debugger value for index 100 is 0

Expected behavior
index 100 should show the correct value

Screenshots/ Videos
grafik

Desktop (please complete the following information):

  • VS Code Version 1.95.3
  • RobotCode Version v0.101.0
  • OS: Windows
  • Python Version 3.10.1
  • RobotFramework Version 7.1

Metadata

Metadata

Assignees

No one assigned

    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