problem on "one or more breakpoints are not positioned on valid lines"
-
Hello ALL, I sometimes encountered the following errors when setting breakpoints in VC 6.0 SP6. " one or more breakpoints are not positioned on valid lines" " the breakpoints haved been moved ..." I wonder what code lines are invalide for setting breakpoint.
-
Hello ALL, I sometimes encountered the following errors when setting breakpoints in VC 6.0 SP6. " one or more breakpoints are not positioned on valid lines" " the breakpoints haved been moved ..." I wonder what code lines are invalide for setting breakpoint.
-
Hello ALL, I sometimes encountered the following errors when setting breakpoints in VC 6.0 SP6. " one or more breakpoints are not positioned on valid lines" " the breakpoints haved been moved ..." I wonder what code lines are invalide for setting breakpoint.
cy163@hotmail.com wrote:
I wonder what code lines are invalide for setting breakpoint.
Any number of reasons could cause this. For example:
if (some_condition && // if you set a breakpoint on this line, the debugger would move it to the next line
some_other_condition)
{
...
}
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne