dynity icon indicating copy to clipboard operation
dynity copied to clipboard

UNITY_ENABLE_RELEASE_DEBUGGING doesn't work anymore

Open extesy opened this issue 8 years ago • 2 comments

The value returned from GetProcAddress is NULL so it can't set the hook. @Mischanix, is there any alternative?

extesy avatar Mar 18 '17 01:03 extesy

I believe that proc is now only exported on mono.dll so you'd need to GetProcAddess(monoDllModule, ...) instead. I don't have time to mess with this right now though.

robert-nix avatar Mar 18 '17 02:03 robert-nix

I doubt the hook will work as written with the proc address from the external module. You would probably need to modify the mono dll EAT instead. Either way, there is no need to hook mono_set_commandline_arguments. Simply calling mono_debug_init with the correct arguments before pressing OK on the messagebox works for me.

nsipid avatar Apr 05 '17 14:04 nsipid