EgorBo / Disasmo

VS2022 Add-in. Click on any method or class to see what .NET Core's JIT generates for them (ASM).
MIT License
638 stars 39 forks source link

Feature Request: Add a define when compiling #49

Closed TJHeuvel closed 8 months ago

TJHeuvel commented 8 months ago

I have a test app that runs DotNetBenchmark when building with Release, and some testing when ran in DEBUG.

I'd also really like Disasmo to run the debug case, but without actually compiling debug. I think this can be done by having Disamo adding a new define, so i can do:

#if DEBUG || DISASMO
//a
#else
//b
#endif
EgorBo commented 8 months ago

Thanks, good idea, added