[kata-dev] how to debug the rust shim

Pavel Mores pmores at redhat.com
Mon Feb 14 17:10:37 UTC 2022


Hi all,

I'm looking into the Rust shim PRs (great job!) and I'd like to be able
reasonably easily to run the binary standalone, preferrably under
debugger, mostly to verify my assumptions.

I noticed the binary is somewhat hard to run though - it has complex
interactions with its environment and makes quite a lot of assumptions
about it.  I was wondering if there's a way to mock these, or how shim
developers go about debugging and verifying the code.

Thanks in advance!

	pvl




More information about the kata-dev mailing list