Hacker News new | ask | show | jobs
by lostmsu 1528 days ago
I have a very strong doubt about it because Rust debugging still sucks. No debugger allows you to evaluate function calls AFAIK, which is a very strong restriction.
2 comments

That doesn't seem like it would matter in the Linux kernel, since they don't have a kernel debugger, for better or worse.
Running GDB against the kernel running in QEMU?
I have definitely evaluated function calls in rust-gdb.
I see reports of it working for trivial top-level functions with basic parameter types, but what about everything else? Like member functions, trait implementations, etc.
You’re absolutely right that it often fails on more complicated stuff. I’m just pointing out that it’s not _totally_ nonexistent.