Skip to content

Debugger stack is inverted #7054

@LB-thomasp

Description

@LB-thomasp

Describe the bug
The stack in the debugger is inverted. Values are pushed to/popped from the bottom.

To Reproduce

  1. Execute a transaction
  2. Click Debug
  3. Select Stack & Memory
  4. Expand Stack
  5. Step through transaction
  6. Observe values are pushed to/popped from bottom of stack

Expected behavior
Values should be pushed to/popped from the top of the stack.

Screenshots

Image Image

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: chrome

Additional context
Remix has historically had the best step by step debugger available for Solidity development and part of what made it great was the ability to see smart contract opcodes, the stack and memory within one panel. The V2 updates make it much more difficult to follow, especially with the inverted stack view.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions