Skip to main content
9 events
when toggle format what by license comment
Jan 13, 2020 at 23:18 answer added Steven V timeline score: 1
Jan 13, 2020 at 2:05 history edited zak100 CC BY-SA 4.0
added 6 characters in body
Jan 13, 2020 at 2:02 comment added zak100 Sorry, I forgot to remove view. I think it compiled on Remix IDE and asked me for the argument of constructor which I gave as 6. I don't know how to trace the variables through bytecode.
Jan 13, 2020 at 1:59 history edited zak100 CC BY-SA 4.0
added 145 characters in body
Jan 13, 2020 at 1:57 comment added Chan-Ho Suh I don't think your revised code would compile, let alone be available for debug, as you have made the constructor return an int and declared it as view (non-state changing).
Jan 13, 2020 at 1:54 comment added Chan-Ho Suh sounds like you are debugging the deployment transaction; since you didn't run your function, the code you are debugging would be the deploy, which initializes your contract instance using the constructor.
Jan 13, 2020 at 1:46 history edited zak100 CC BY-SA 4.0
Changed the code based upon comments and added image
Jan 2, 2020 at 6:26 comment added goodvibration For the sake of debugging, maybe change the function to a constructor.
Jan 2, 2020 at 5:45 history asked zak100 CC BY-SA 4.0