Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Breakpoints on 'if' statements (Read 3009 times)
John C
Newbies
*
Offline


Posts: 7
Location: Nottingham, UK
Joined: Oct 26th, 2011
Breakpoints on 'if' statements
Aug 6th, 2012 at 1:56pm
Print Post  
A breakpoint on an if statement only breaks if the statement is true. A break on the following line will not activate until loopCnt is 10.
     if (loopCnt == 10)

I cannot get a breakpoint on a switch statement to work at all.
  
Back to top
 
IP Logged
 
John C
Newbies
*
Offline


Posts: 7
Location: Nottingham, UK
Joined: Oct 26th, 2011
Re: Breakpoints on 'if' statements
Reply #1 - Aug 6th, 2012 at 2:04pm
Print Post  
My fault - I didn't read the instructions carefully enough. The debug code is added at the end of a line.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint