Skip to content

Instantly share code, notes, and snippets.

@pardeike
Created April 18, 2020 17:23
Show Gist options
  • Save pardeike/62e0423c0a1bed16ddebbe2ded0955c3 to your computer and use it in GitHub Desktop.
Save pardeike/62e0423c0a1bed16ddebbe2ded0955c3 to your computer and use it in GitHub Desktop.

You open the game's dll from the filesystem

But once you're there and debug is running, you open the Modules window from Debug -> Windows, and locate your mod's assembly. It won't have the original .dll name

The game loads them in like this:

One of those data-NNNNNNNNN files would be your mod's assembly, double clicking them gives you the assembly name from the DLL

For example:

Then you can set breakpoints inside that assembly, it would appear in the sidebar.

If you already have the DLL from the filesystem loaded, you will get duplicate search results for symbols. But you can tell which is the filesystem one and which is the actually loaded one by hovering over the search result entry:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment