When running CVI project, sometimes CVI issues the following message: "Cannot set breakpoint. Line ## has no executable code.", while THE LINE HAS EXECUTABLE CODE!!! How to overcome this behaviour?
Try recompiling and saving your file. Depending on what kind of edits you're doing, it seems like sometimes the debugger gets out of sync with the editor.
Al S wrote: > Try recompiling and saving your file. Depending on what kind of edits > you're doing, it seems like sometimes the debugger gets out of sync > with the editor.
You are right the problem comes when you make some edits to the code that change the line order and then try to recompile with the previous line assignments. The best way to go will be to save the file ans recompile. Or just move the breackpoint to the next line.
I never had this problem using the option "Save changes before running" set to "Always" in the main Run Options. Raf
Al S wrote: > Try recompiling and saving your file. Depending on what kind of edits > you're doing, it seems like sometimes the debugger gets out of sync > with the editor.
In CVI 6.0, I do occasionally see the problem even with Options >> Run Options >> Save changes before running >> Always There's some connection between the compiler, the editor, and the debugger that seems to need to be rebuilt sometimes.