0

When debugging an Ethereum transaction with Remix, there is a section called "Step details" on the left-hand side of the screen:

Remix step details

Is the "vm trace step" the same as the program counter?

0

No, that's just a linear counter that disregards the EVM rule that push instructions increase the program counter (PC) by at least 2 (as compared to all others opcodes, which increase the PC by 1).

The program counter is to be found on the column on the left-hand side, next to the opcodes:

Opcodes

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.