Content pfp
Content
@
0 reply
0 recast
0 reaction

emo.eth pfp
emo.eth
@emo.eth
this one goes out to all the haters who said "you will never figure out the rust debugger and fix sourcemaps in foundry's solidity debugger"
5 replies
0 recast
23 reactions

shazow pfp
shazow
@shazow.eth
That's beautiful. Can I run this on arbitrary bytecode/without source code?
1 reply
0 recast
0 reaction

emo.eth pfp
emo.eth
@emo.eth
this is the builtin forge debugger! sourcemaps have been broken for cross-source (eg inherited) function calls for several months now; this is a screenshot of it correctly finding the (inherited) increment() function with my fix 🤠 available with `cast run --debug` or `forge script/test --debug`
1 reply
0 recast
0 reaction

shazow pfp
shazow
@shazow.eth
Lol yea, sorry unrelated question from your fix (very nice!), just figured you might know. I haven't used the debugger yet. I mostly deal with debugging raw bytecode, was wondering if there's a way to give it arbitrary bytecode (and some input) and step through it without source code.
1 reply
0 recast
1 reaction