walnuthq / cairovm.codes

Source code for cairovm.codes — a web app to compile Cairo programs into Sierra and CASM with step-through execution capabilities.
https://cairovm.codes
MIT License
29 stars 24 forks source link

feat: single step debugging mode for sierra statements #153

Closed jaipaljadeja closed 2 months ago

jaipaljadeja commented 2 months ago

Resolves #152

mazurroman commented 2 months ago

I am not sure if there is a problem on the frontend or on the backend, but to me the highlighting seems a bit off.

Looking at this code: link on sierra statement // 3 it highlights 2 Cairo lines while I would expect only the first one (let n = 2 + 3;) to be highlighted.

mazurroman commented 2 months ago

Also:

jaipaljadeja commented 2 months ago

@mazurroman thanks for pointing out your concerns. will take a look.