Hi Don,
Okay the problem is that you have a syntax error in your breakpoint at line 42.
Your solution didn't contain any breakpoints when it arrived so I used the log files in the "Visual Micro" folder to manually add your breakpoints one at a time. So thanks for including the sub folders in the zip they are always useful
The project compiled fine for debug until I added the Breakpoint at line 42. I think for long breakpoint "when hit expressions" it is a good idea to make sure the "When Hit" column of the BreakPoints list is wide enough to see the code/expression.
You can see the problem that strlen(buff is missing the closing bracket...
calling showSprintfFailure(), {status} {strlen(buff}
Syntax errors in breakpoints are not reported very clearly which is why the default plugin performs both a "Release" and a "Debug" compile.
As stated previously the default project property setting of "Validation Skip" is False, this means that you will see two complitaions in the output below when you perform a debug/upload compilation.
Notice below that first we get a successful release compile in under half a second with size 9390 bytes. Then we see the debug compile fails.
Compiling 'tst' for 'Arduino Uno'
Binary sketch size: 9390 bytes (of a 32256 byte maximum) (0.453 secs)
Compiling debug version of 'tst' for 'Arduino Uno'
tst.ino : : In function 'void loop()':
tst.ino : expected `)' before ';' token
Error compiling
Visual Micro performs these two compilations so that you can know that an error in the "debug" compile is a result of a break point invalid Breakpoint "placement", "when hit" and/or "condition".
I hope this makes sense and that you find everything is working well.
Look forward to hearing your thoughts
Thanks
ps: I noticed you have a VS temp folder called ipch below your sketch. VS creates these automatically which is a pain because they are difficult to delete. This
article tells you how to stop ipch folders from being created below C++ projects
pps: I've cleaned up the thread a bit so it is helpful to others. Hope that is okay