In the past, I used to insert lines 'doing nothing' but allowing me to set a breakpoint. Now, with CVI2013, the following does not work anymore:
if ( expression )
{
// something
}
else
{
; <- putting a breakpoint here is useless: the breakpoint is ignored
}
The workaround is to have something like
if ( expression )
{
// something
}
else
{
Delay (0.1); <- putting a breakpoint works
}
Could it be that clang is 'optimizing code' even in debug mode...?
Also, setting or removing a breakpoint causes the file being recompiled - this slows down debugging enormously :smileyfrustrated: