Every now and then I see @hkeric.wci , @jgiese.wci , @josecgomez , etc. pull out dnSpy to help us understand something by looking at Epicor “source code”…
Well, I’m trying to understand what is going on in a particular BO method because I think there’s a bug. It is the ApplyCreditMemo._ApplyCreditMemoCC BO method.
So I download dnSpy, open the DLL, navigate to the method… but there’s nothing useful there?? It seems the real work of the method is happening elsewhere:
Your best bet also is to restart the appserver and before you do anything attach DNSpy then you can usually get really good results with breakpoints and variable resolution.
Maybe because we were Single Tenant and owned the software before we went public cloud, but I could download the software and run the demo database locally if I wanted to step through code without hanging the system for others. Personally, I think cloud users should have this capability too. I lust for that DevOpsy stuff.
I hear that, although my particular exercise was not very fruitful… Just ended up being a rabbit hole / rube goldberg chain of methods and other DLLs leading into the heart of the Posting Engine which I have no business trying to “debug”…