January 23, 2019

Remix debugger – Advanced

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 Story
January 22, 2019

Remix debugger – Introduction

he 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 Story
January 21, 2019

Debugging with events

Do 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 Story
January 20, 2019

Debugging with require and revert

In 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 Story
January 19, 2019

Inspect storage with calls & return statements

In 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 Story
January 18, 2019

Debugging “VM Exception: invalid opcode / revert”

When 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
January 17, 2019

Debugging “VM Exception: out of gas”

"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
January 16, 2019

Types of Solidity runtime errors

"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 Story
January 15, 2019

Debugging with syntax highlighting

To 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 Story
January 14, 2019

Syntax vs runtime vs logic errors in solidity

A 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

Never miss a minute

Get great content to your inbox every week. No spam.
[contact-form-7 id="6" title="Footer CTA Subscribe Form"]