Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Feature request: option to display less noisy arrays when debugging #5860

Open
@cds-amal

Description

Couldn't think of a better description :/ . When inspecting a solidity array variable that has large sequences of the same unknown value, it takes up the entire screen. It would be less noisy to display a sparse array. For example:

instead of this:

[
  0x1b109EeF2af178B573b0386eb3A3264Bb8b15250,
  0xB6eC721bcA8217F61cA6a03800C41457D410352D,
  0xfb1EE1579940f1a95F15e9691106C3467670b488,
  0xC3f16C41ECB367eF540Faa4Cd339111D3e08Bb8F,
  0xeE051A3F57661846fB63BAAa95D140467C194252,
  0xf06Bc8D7e1Ec4713d821c434feD6ae339C07b4fa,
  0x9D983A306D2198f44017645A3b1F6FF89407C315,
  0x6AC4316186dB11C34B32E0B18792665744C6AdF3,
  ?,
  ?,
  ?,
  ?,
  ?,
  ?,
  ?,
  ?,
  ?,
  ?,
  ?,
  ?,
  ?,
  ?
  0xEc030499Ade5490cd964B48054d0c181362A178C,
  0x493955908609108A49CBb55E7BcF9F6b87eE928a
]

Present something like this:

[
  000: 0x1b109EeF2af178B573b0386eb3A3264Bb8b15250,
  001: 0xB6eC721bcA8217F61cA6a03800C41457D410352D,
  002: 0xfb1EE1579940f1a95F15e9691106C3467670b488,
  003: 0xC3f16C41ECB367eF540Faa4Cd339111D3e08Bb8F,
  004: 0xeE051A3F57661846fB63BAAa95D140467C194252,
  005: 0xf06Bc8D7e1Ec4713d821c434feD6ae339C07b4fa,
  006: 0x9D983A306D2198f44017645A3b1F6FF89407C315,
  007: 0x6AC4316186dB11C34B32E0B18792665744C6AdF3,
  008: [14 times] - ?,
  022: 0xEc030499Ade5490cd964B48054d0c181362A178C
  023: 0x493955908609108A49CBb55E7BcF9F6b87eE928a
]

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions