In this video I will show you some advanced features of the Remix Debugger like: stepping over functions breakpoints These features allow you to quickly find the place of the Solidity code that you want to debug. It can be very useful in large smart contracts.
Read Storyhe Remix debugger is a powerful that allows you to debug your Solidity code. Usually, if you are stuck and don't know how to fix a buggy Solidity smart contract, the Remix debugger is your last chance. In this video, I will introduce you how to use the Remix debugger:…
Read StoryDo you like often use console.log() statement to debug your Javascript code? Convenient, uh? How about Solidity smart contracts, can we do the same? Well, yes and no. In this video, I will show you how you can do almost the same thing in Solidity with events. After you watch…
Read StoryIn Solidity, require and revert statements are used to check some pre-conditions before executing the main part of a function. However, these Solidity constructs can also be used to debug your smart contracts. In this video, I am going to show you how you can use require and revert statements…
Read StoryIn Solidity, you can return some values from functions, like in other programming languages. Its also possible to use these return statements to inspect some variables and do some debugging. In this video, I am going to show you how to do this.
Read StoryWhen I started learning Solidity, there was nothing more frustrating than running accross "VM Exception: invalid opcode" or "VM Exception: revert" errors. These errors messages are really not helpful. In this video, I explain you: what are these errors what kind of Solidity code trigger them how to troubleshoot them
Read Story"Out of gas".. what a lovely Solidity error! This really use to make me mad when I started with Solidity smart contracts! In this video, I am going to show you how to simply solve this error and more importantly how you can find out how much gas is needed…
Read Story"out of gas", "revert", "invalid opcode", what are all these weird error names in Solidity? In this video I will give you a full list of the errors in Solidity, and I will explain them to you, so that you can easily understand whats going on when you see them.
Read StoryTo debug syntax errors, you can rely on Solidity syntax highlighting. Fortunately for us, Remix has syntax highlighting activated by default, so we are good about this. In this video, I will teach you: How to fix the usual Solidity syntax errors? How to setup syntax highlighting in other code…
Read StoryA lot of people are confused about debugging in general and don't know the difference between a syntax error and a logic error. It's important to be understand the difference, so that you become good a debugging Solidity smart contracts. In this video, I am going to explain you simply…
Read Story