Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

debugger nops?

$
0
0

Hi

When doing a debug build and looking at the generated il using ildasm there are a lot of 'nop' statements that seem to do nothing.

Am I correct in assuming they are used by the debugger to inject breakpoint code? If so, how exactly does it map a line of code to its corresponding 'nop'?

Any info on the internals of the debugger highly appreciated, thanks.


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>