Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to see past 1000 visualized elements for ArrayItems #9801

Closed
WardenGnaw opened this issue Aug 27, 2022 · 0 comments
Closed

Unable to see past 1000 visualized elements for ArrayItems #9801

WardenGnaw opened this issue Aug 27, 2022 · 0 comments
Labels
debugger fixed Check the Milestone for the release in which the fix is or will be available.
Milestone

Comments

@WardenGnaw
Copy link
Member

Environment

  • OS and version: Win 11 21H2
  • VS Code: 1.70.2
  • C/C++ extension: 1.12.2
  • GDB / LLDB version: GNU 9.2

Bug Summary and Steps to Reproduce

Bug Summary: Can not visualize past 1000 elements with ArrayItems in NatVis

Steps to reproduce:

  1. Use https://github.com/microsoft/MIEngine/tree/main/test/CppTests/debuggees/natvis/src
  2. With the config below.
  3. Modify it to have 2000 Array Items
  4. See that we can not go past 1000 items.

Debugger Configurations

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "(gdb) Launch",
            "type": "cppdbg",
            "request": "launch",
            "program": "${workspaceFolder}/a.out",
            "args": [],
            "stopAtEntry": false,
            "cwd": "${fileDirname}",
            "environment": [],
            "externalConsole": false,
            "MIMode": "gdb",
            "setupCommands": [
                {
                    "description": "Enable pretty-printing for gdb",
                    "text": "-enable-pretty-printing",
                    "ignoreFailures": true
                },
                {
                    "description":  "Set Disassembly Flavor to Intel",
                    "text": "-gdb-set disassembly-flavor intel",
                    "ignoreFailures": true
                }
            ],
            "visualizerFile": "MIEngine/bin/DebugAdapterProtocolTests/Debug/CppTests/debuggees/natvis/src/visualizer_files/Simple.natvis"
        }

    ]
}

Debugger Logs

Logs are not too useful here. Investigate with debug MIEngine bits.

Other Extensions

No response

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debugger fixed Check the Milestone for the release in which the fix is or will be available.
Projects
None yet
Development

No branches or pull requests

2 participants