Skip to content

Using RenderDoc in a Development Environment

Jozufozu edited this page Jan 6, 2022 · 1 revision

Foreword: This method is disgusting but relatively easy to setup. There's very likely a better way to achieve this.

Setting up RenderDoc

Install RenderDoc.

Go to Tools > Settings.

In the General tab on the left (should be open by default), enable process injection and restart.

Launching the game

Add a breakpoint on the first line of net.minecraft.client.Main#main

Line numbers subject to change

Launch the game.

Once the breakpoint is hit, find the pid of the Minecraft process.

Open RenderDoc if you haven't already.

Go to File > Inject into process.

Enter Minecraft's pid into the bar on the bottom. If it doesn't show up, click the Refresh button on the right.

Double-click on the process in the list.

Resume from the breakpoint.

Clone this wiki locally