https://opendal.apache.org/ logo
Is there any way I can see the debug inside the de...
# general
m
I think I'm just cruising. Is there any way I can see the output of
debug!("{op:?}")
inside the debugger? It would be handier.
x
May I ask why you need this?
OpenDAL's VISION is users should not take care about the internal of Operator.
m
I see. I know it's OpenDAL's design to hide the underlying information from the user. I think my question is more of a general Rust development problem because, when I was tracing the code and developing layers and services, I wanted the debugger to give me more visibility information about the data I created. And I'm not sure if I was doing it the right way (best practice) when tracing the code.
x
Ok, I got it.
I'm not a fan of debugger . I prefer to use dbg!() and debug!() while needed.
Maybe
rust-gdb
can help?
m
You guys are geniuses. I often find myself lost in the generic. But I think I got my answer here, thank you! You've been very supportive 👍
Will definitely give it a try.
s
😢I used to write logic in the example, then debug it. It works as expected.
2 Views