Why Are My Breakpoints Ignored in LabWindows™/CVI?

Updated May 10, 2023

Reported In


  • LabWindows/CVI

Issue Details

I set breakpoints and run my LabWindows™/CVI program but the program does not stop at the breakpoints. What could be the reason?


There are three reasons breakpoints will be ignored:
  • The breakpoint is set on a line that has white space or non-executable code. The solution is to move the breakpoint to the next line of executable code.
  • The part of the code that the breakpoint is on is not being executed. The solution to this is to verify the code is actually executing.
  • The program is configured for Release mode instead of Debug mode. To change back to Debug mode, click on Build » Configuration » Debug from the pulldown menus.