Debugging not working correctly

  • Thread starter Thread starter PeteOlcott
  • Start date Start date
P

PeteOlcott

I set a breakpoint in a .NET function, and the F10 [Step Over] debug
option never reaches many of the source lines in this function. The
lines that it skips are not part of a conditional expression thus
should always get invoked.
 
I set a breakpoint in a .NET function, and the F10 [Step Over] debug
option never reaches many of the source lines in this function. The
lines that it skips are not part of a conditional expression thus
should always get invoked.

Are you perhaps debugging a release (optimised) build? What you're
seeing is a typical behaviour.

Dave
 
I set a breakpoint in a .NET function, and the F10 [Step Over] debug
option never reaches many of the source lines in this function. The
lines that it skips are not part of a conditional expression thus
should always get invoked.

Are you perhaps debugging a release (optimised) build? What you're
seeing is a typical behaviour.

Dave

No all of the 362 projects in the solution via the Configuration
Manager are set to Debug.
 
No all of the 362 projects in the solution via the Configuration
Manager are set to Debug.

Is the project whose source you're debugging set to build with
optimisations disabled for the Debug configuration?

Dave
 
No all of the 362 projects in the solution via the Configuration
yes
Disabled (/Od)

In that case, I don't have an explanation for what you're seeing.

Dave
 
Back
Top