Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [debugging]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
420 views

How to access Struct values in brownie

//transaction struct of what a tx should have struct Transaction{ address to; uint value; bool executed; uint numConfirmations; mapping(address => bool) isConfirmed; mapping(...
Francis Egboluche 's user avatar
1 vote
1 answer
653 views

How to get opcode trace of failed transaction without solidity source?

tldr: want to run simulated transactions against deployed bytecode on rinkeby that has no verified solidity source, and step through opcodes and view stack/memory leading up to revert. To clairfy: in ...
Kyle Baker's user avatar
1 vote
0 answers
33 views

How to inspect MetaMask

I was wondering how can I listen to the requests & data that are being sent between the MetaMask extension & DApp, My purpose is to inspect how is MetaMask reacting to DApp requests so that I ...
Reza Aslejeddian's user avatar
1 vote
1 answer
48 views

Null keys when using `debug_storageRangeAt`

I'm currently trying to use the debug_storageRangeAt on a Hyperledger Besu RPC to extract the contract storage. For some contracts I get the expected response which is a list of keys and values: "...
Valentín Fernández's user avatar
1 vote
1 answer
63 views

Smart contract has stopped working well (runs out of gas)

I created an ERC20-compliant token with a tax and redistribution mechanism and deployed to the Bitgert chain and it has worked fine for days now. It stopped working well yesterday and efforts to ...
King Einsteinet's user avatar
1 vote
1 answer
605 views

How debug a Hardhat task?

I've developed a task in my Hardhat Project but I'm getting some errors when I try to pass an array parameter (something in @ethersproject/strings/src.ts/utf8.ts says that Cannot read properties of ...
Fabiano's user avatar
  • 173
0 votes
1 answer
16 views

Displaying terminal logs while calling a function from a specific wallet in Forge test?

Context As part of a test I would like to assert the funds from wallet investorWallet are reduced with the investmentAmount after an investment is made (by calling the receiveInvestment function in ...
a.t.'s user avatar
  • 79
0 votes
1 answer
1k views

Foundry Forge Debugger: How to inspect contents of variables?

Is there a convenient way to view the contents of a variable while debugging? Similar to other tooling, like the python debugger in pycharm, or the lldb debugger in Xcode. The forge debugger has a ...
urlauba's user avatar