Skip to content

xemu debugging with RenderDoc

Erik Abair edited this page Jul 15, 2023 · 5 revisions
  1. Get RenderDoc
  2. Enable DEBUG_NV2A_GL
  3. Instrument xemu w/ RenderDoc in-app API commands to capture frames by building with --enable-renderdoc: build.sh --debug --enable-renderdoc
  4. Launch xemu from renderdoc and use F10 to capture guest frames. F12 will capture host frames.

Note: When running a xemu development build on macOS you may need to launch the qemu-system-i386 and set the DYLD_FALLBACK_LIBRARY_PATH environment variable to the Contents/Libraries/arm64 subdirectory within the xemu.app bundle.