C
C#2y ago
SquidXTV

❔ 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
SquidXTV
SquidXTVOP2y ago
my idea is to debug the exe and somehow make a breakpoint inside the method but how?
anita
anita2y ago
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.
SquidXTV
SquidXTVOP2y ago
will this work even if the script is in the dll file and I run the exe?
anita
anita2y ago
Yes
SquidXTV
SquidXTVOP2y ago
and then just simply start the exe via a run configuration in rider?
anita
anita2y ago
If you do this, it will be automatically attached, but you can also attach it later (while your app is already running)
SquidXTV
SquidXTVOP2y ago
hm doesnt really work
SquidXTV
SquidXTVOP2y ago
I have this run configuration
SquidXTV
SquidXTVOP2y ago
I also tried attaching a debugger after running normally, but I get no view to anything
anita
anita2y ago
oh, i didn't see, this is unity?
anita
anita2y ago
SquidXTV
SquidXTVOP2y ago
yeah its unity, but the project isnt inside unity, its already deployed as an exe
anita
anita17mo ago
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
Accord
Accord17mo ago
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.
Want results from more Discord servers?
Add your server