Long lines of code
banoz
Posts: 2
There is a bug in debugging through decompiled assemblies - when the line of code is quite long, debugger steps after that code points to the line shifted forward, not actual. Seems like there is some unnecessary wrapping happens.
Comments
1. Close Visual Studio
2. Set an environment variable (From Advanced System Settings) named "COMPLUS_ZAPDISABLE" and give it the value 1
3. In the folder where YourAssembly.dll is, you then need a .INI file called YourAssembly.ini that contains the text below:
[.NET Framework Debugging Control]
GenerateTrackingInfo=1
AllowOptimize=0
4. Try debugging again
Thank you banoz for providing your reproduction!
Jessica Ramos | Product Support Engineer | Redgate Software
Have you visited our Help Center?