-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debugger shows <unknown>:Nothing (?)
while debugging frequently
#686
Comments
is it blank all the time for this contract? Or just in some sections? |
Just some sections. |
I get this a lot as well, sometimes in very large blocks. Similar reproduction steps:
From my experience, it seems related to contract creation, as it appears to happen a lot during the non-constructor code related to contract creation. This is only a hunch however. As a feature request, it'd be great if I could step over anything unknown. Environment:
|
you can step to the next piece of source code with shift-N, or step forward through the bytecode without entering subcalls with control-n |
In the case above, I do use shift-N. When it reaches anything unknown, it steps through the instructions as if I was just pressing N alone. Edit: I guess I didn't specify that above. Perhaps that's a bug! |
yup same. should have specified as well oop 😅 doesn't feel good to be stepping thru things smoothly with |
Not sure we can do much about the fact that srccode is missing for parts of the code, but we can fix the |
yup, thats what i was hoping for 🙏 |
btw i dont see this issue with c-n, but i do sometimes see with c-p |
bump hehe |
I’ve been switching tools like Leo switches girlfriends (between multiple
projects, mind you), so haven’t gotten back to my dapptools project yet.
Once I do I’ll let you know!
…On Tue, Oct 5, 2021 at 9:12 PM t11s ***@***.***> wrote:
[image: Screen Shot 2021-10-05 at 9 12 20 PM]
<https://user-images.githubusercontent.com/26209401/136139567-0d937786-0ae8-47c8-bf21-bbe0ace00ef4.png>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#686 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAWTVPSTRSKVVFGOSOKW7DUFPEEJANCNFSM47V2SM4Q>
.
|
hehe i just want the debugger to skip the |
Oops, me too! I somehow thought you were the maintainer looking for more
info (I responded via email, so my bad!).
…On Tue, Oct 5, 2021 at 10:16 PM t11s ***@***.***> wrote:
hehe i just want the debugger to skip the Nothing (?) screens when
stepping thru with shift + N
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#686 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAWTVOF3HCUGRV5RUFWFCDUFPLR5ANCNFSM47V2SM4Q>
.
|
@transmissions11 had been kinda avoiding this one since the source map parser and format are quite mysterious to me 🙈, think I have a fix, would be great if you could test it out. |
While debugging recently I've noticed that the code panel goes completely blank. Is this normal?
If you'd like a reproduction case clone this branch, run
make
, and then rundapp debug
and selectVaultFactoryTest::test_deploy_vault()
. After stepping through the trace for a little bit you will notice the code panel go blank:https://github.com/rari-Capital/vaults/tree/v1
The text was updated successfully, but these errors were encountered: