❔ debug breakpoint dll used in exe
[coming from a java background]
im currently playing the game Grime which is a Unity game and
im trying to debug it and get access to a variable in a MapHandler.cs file which is in AD_Scripts.dll
file which is used in a exe
is this even possible?
and if so how can I approach this?
14 Replies
my idea is to debug the exe and somehow make a breakpoint inside the method
but how?
If you have the source code, yes thats easy. If you don’t then rider has automatic decompilation and I think the new version of vs also (I have never tried it with vs)
You just need to attach de debugger.
will this work even if the script is in the dll file and I run the exe?
Yes
and then just simply start the exe via a run configuration in rider?
If you do this, it will be automatically attached, but you can also attach it later (while your app is already running)
hm doesnt really work
I have this run configuration
I also tried attaching a debugger after running normally, but I get no view to anything
oh, i didn't see, this is unity?
did you go through this already? https://docs.unity3d.com/Manual/ManagedCodeDebugging.html
yeah its unity, but the project isnt inside unity, its already deployed as an exe
yes, but you still want to attach to the unity editor itself as far as i can see
the process that is running is a unity game
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.