Ed,
It's most likely an outdated .pdb (Program DataBase) file is being used.
First, remove all produced binaries and rebuild the whole solution. Second,
if you deploy the resultant assembly to GAC/web server/etc., be sure to
deploy the up-to-date PDB file as well.
The reason is that PDB contains mapping between the compiled IL and the
lines of source code that correspond to that IL. When the lines stored in
PDB do not match actual source code lines, you see strange things happening
like stepping into comment blocks.
--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE
"Ed Crowley" <cu******@pacbell.net> wrote in message
news:OK**************@tk2msftngp13.phx.gbl...
I have a problem with one of the classes in my project; when I step
through the code the IDE appears to be stepping through lines that do not "exist"
such as blank lines and random lines within comment blocks!
I fixed the problem by pasting the code into Notepad, deleting the class
and recreating it.
Has anyone seen this happen before? Is it a symptom of something serious
going on?