--- title: "Debug for majority-GPU-side game dev? Run-time recompile and hex viewer." type: archive source: twitter source_url: "https://x.com/NOTimothyLottes/status/1742742039169573054" author: "NOTimothyLottes" handle: NOTimothyLottes post_id: "1742742039169573054" date: 2024-01-04 archived: 2026-08-25 draft: false tags: - archive - twitter - NOTimothyLottes description: "Debug for majority-GPU-side game dev? Run-time recompile and hex viewer." in_reply_to: "" --- ## Source - URL: https://x.com/NOTimothyLottes/status/1742742039169573054 - Author: NOTimothyLottes (@NOTimothyLottes) - Posted: 2024-01-04 02:57:35 ## Thread **1/** **@NOTimothyLottes** ^1742742039169573054 Debug for majority-GPU-side game dev? Run-time recompile and hex viewer. If I want to see a value it is 'ramWI1.hxd[pos]=value;' (write to the memory that the hex dump reads from). Everything else is automatic, just save source and the results show up on screen. Zero's not drawn. ![](https://pbs.twimg.com/media/GC91mNxXEAAaovO?format=png&name=orig) **2/** **@NOTimothyLottes** ^1742743018929557805 IMO this is preferred to a 'debugger'. I can fill values from all workgroups simply by placing them at different positions, etc. Can get timings via shader clock for profiling even. It is transformative in dev productivity. Branches: [[archive/threads/NOTimothyLottes/2024-01-04-debug-for-majority-gpu-side-game-dev-run-time/2024-01-05-kenpex-its-what-debuggers-should-be-debuggers-made-zero]]