1/5
_Follow along with this video:_ --- ### Debugging using the forge debug tool One other tool that we didn't properly introduce until now is `forge test --debug`. Run `forge test --debug testRaffleRecordsPlayerWhenTheyEnter`. I know this looks a bit scary, but it isn't! In this view, you can go OPCODE by OPCODE to check each super granular step of your function execution. It's something that it's not recommended to do at the beginning of your developer journey. But with time, after you accumulate some more knowledge and maybe finish the Section about Yul, Huff and OPCODES, you will be super comfortable. I guarantee it! For now, just know how to access this view.
An insightful introduction to Diving Deep: Introduction to the Foundry Opcode Debugger - Delve into the EVM's low-level operations by stepping through individual opcodes with Foundry's debugger. Learn how this advanced tool aids in precision analysis, gas optimization, and security auditing.
Previous lesson
Previous
Next lesson
Next
Give us feedback
Course Overview
About the course
Foundryup, Foundry Forge, and Anvil
Blockchain Oracles
How to create local Blockchain testnets
How to verify a smart contract
How to write and run smart contract tests
Security researcher
$49,999 - $120,000 (avg. salary)
Smart Contract Engineer
$100,000 - $150,000 (avg. salary)
Web3 developer
$60,000 - $150,000 (avg. salary)
Web3 Developer Relations
$85,000 - $125,000 (avg. salary)
Smart Contract Auditor
$100,000 - $200,000 (avg. salary)
Guest lecturers:
Last updated on April 5, 2025
Solidity Developer
Foundry FundamentalsDuration: 2h 55min
Duration: 2h 56min
Duration: 26min
Duration: 5h 22min
Course Overview
About the course
Foundryup, Foundry Forge, and Anvil
Blockchain Oracles
How to create local Blockchain testnets
How to verify a smart contract
How to write and run smart contract tests
Security researcher
$49,999 - $120,000 (avg. salary)
Smart Contract Engineer
$100,000 - $150,000 (avg. salary)
Web3 developer
$60,000 - $150,000 (avg. salary)
Web3 Developer Relations
$85,000 - $125,000 (avg. salary)
Smart Contract Auditor
$100,000 - $200,000 (avg. salary)
Guest lecturers:
Last updated on April 5, 2025
Testimonials
Read what our students have to say about this course.
Chainlink
Chainlink
Gustavo Gonzalez
Solutions Engineer at OpenZeppelin
Francesco Andreoli
Lead Devrel at Metamask
Albert Hu
DeForm Founding Engineer
Radek
Senior Developer Advocate at Ceramic
Boidushya
WalletConnect
Idris
Developer Relations Engineer at Axelar