Re: … only supports break point to break point.
Ok, changed that toolbar field to be Debug:Hardware, and understand that I may not be able to step through the code.
Re: I don't think ! workds for the Due toolchain use 0 or 1 or HIGH/LOW.
Ok Changed light flash code to:
if( current_time - light_time >= 500 )
{
light_time = current_time;
// light_on = !light_on;
if (light_on == true)
light_on = false;
else
light_on = true;
digitalWrite(LED_BUILTIN, light_on);
};
Set breakpoint at the if statement. In the debut dialog, Actions is checked and Continue execution is not checked. Build, then F5, Start debugging.
Output windows shows that VS does the upload and ends with CPU reset.
Then, …, nothing.
Press F10 to Step
Output window clears, proclaims it is compiling, and proceeds to upload the code.
That is not expected.
Press F11 to step, exactly the same results.
Turn off debugging and try to run. Light does not blink. F10 causes a project rebuild and download.
I suspect that there is a setup problem. I am certain that these symptoms are not make good sense to me.