Skip to content

Debugging

AlexIIL edited this page Nov 2, 2023 · 4 revisions

Debugging class loading issues

Xlog:class+load=debug prints every time a class is loaded, where it was loaded from, and what classloader actually loaded the class.

This doesn't store the output in any log files - instead you'll need to look at your IDE console, or multimc log. This doesn't work in all launchers!

-Dloader.debug.dump_class_to_mod=true is an alternative, that shows less information.

-Dloader.transform_cache.disable_optimised_compression=true can be used to change the transform cache into a readable zip file, which you can then inspect to see if any mods contain unexpected classes.

Clone this wiki locally