Description of issue

I'm trying to debug a simple contract using remix on chrome v. 65 on Ubuntu.

I must be doing something wrong, because I have the following issue:

When I place a breakpoint in the middle of a function, execute the function and then hit "DEBUG", the debugger is not at the breakpoint.

Furthermore, when I hit the button "Jump to next breakpoint" it (the execution flow slider) merely jumps to the end.

The contract

The simple contract compiles and remix looks like so after compilation: enter image description here


Then I deploy the contract, after which remix looks like so: enter image description here

Set breakpoint in a function and run that

Then I set a breakpoint on line 18, enter the value 15 as argument to the function changeValue and execute it, after which remix looks like so: enter image description here

Hit "DEBUG" and notice that program is not at the breakpoint

After hitting "DEBUG" I would expect the program to be at the breakpoint and a highlight therearound in the code. In staed I see this: enter image description here

Hitting "Jump to next breakpoint" ends

When I now hit "Jump to next breakpoint" I'd expect the debugger to hit the breakpoint after all, in stead it jumps to the execution end (as you can see from the slider position).

This is what remix looks like after hitting "Jump to next breakpoint": enter image description here


What am I doing wrong or what else should I try?

  • Mabe you have a browser extension active, that blocks certain javascript execution. (e.g. Adblocks)
    – cqx
    Sep 5, 2019 at 18:15
  • Old issue, probably already fixed
    – ceseshi
    Sep 21, 2023 at 9:17
  • I don't think so Sep 21, 2023 at 15:36
  • I had it recently Sep 21, 2023 at 15:36


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.