Single stepping in a function with an ifdef doesn't match highlighted line of code.
I have a function with an ifdef in it to conditionally compile a section of code. The ifdef is defined so the code should be active. When I hit a breakpoint before the code the highlighted line of code matches. When I try to single step to the next line of code which is after the ifdef, the highlighted line is outside of the function in a comment block.
I have optimization set to None, but it also doesn't work if it is set for debugging.
I have cleaned and rebuilt but nothing happens. It appears to single step properly in functions that don't have an ifdef.
Thanks, Jim