Re:Adding a new Bytecode instruction to the .NET runtime
by pjmlp on Saturday May 20, 2017 @05:23AM
(#14381602)
Another easier way is just to run it under Visual Studio debugging session, put breakpoint on the code one wants to see and select "Show Disassembly" view.
[ Parent
| on HN ]
Re:Adding a new Bytecode instruction to the .NET runtime
by taspeotis on Saturday May 20, 2017 @06:13AM
(#14381694)
I'm aware of this method but I've found it difficult in practice, you want to be running in Release mode for the JIT optimisatinos. Then due to method inlining your breakpoint might get inlined somewhere that "just my code" thinks is not your code. You rarely want "just my code" off in practice, so it becomes cumbersome to toggle off/on.