Chapter 10: Debugging Contracts
So far, we have looked at Solidity and Ethereum from a conceptual standpoint, developed and authored Solidity contracts, and tested them. The only thing that was not discussed was troubleshooting contracts. Troubleshooting is an important skill and exercise when dealing with any programming language. It helps in finding issues and solving them efficiently. Troubleshooting is both an art and a science. Developers should learn the art of troubleshooting through experience as well as by exploring details behind the scenes using debugging. This chapter will focus on debugging coding issues related to Solidity contracts.
This chapter covers the following topics:
- Overview of Debugging contracts
- Debugging contracts using Remix and Solidity events
- Using a block explorer
By the end of the chapter, you'll learn troubleshooting and debugging using multiple tools, such as Remix and events. This chapter will show how to execute code...