When debugging an Ethereum transaction with Remix, there is a section called "Step details" on the left-hand side of the screen:
Is the "vm trace step" the same as the program counter?
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community
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: