I have a bit of a unique problem. Basically, I work on a .Net obfuscator. An obfuscated assembly gets bad IL that crashes. I need to debug this obfuscated IL and figure out why it crashes.
My current approach is:
- Disassemble assembly with ildasm
- Import the IL code into Visual Studio and attempt to compile, debug, and reproduce it there.
My problem is that Visual Studio doesn't seem to like .il
files. How do I get it to treat IL files like they should?
Also, don't suggest this method. I tried it and the bug magically disappears upon recompiling it..