LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can not set breakpoints in CVI 4.01

Hi
I am running cvi 4.01 on NT 4.0 . My problem is that in some of the .C files in the project the code will not stop on a breakpoint in other .C files in the same project this works perfectily . I have set the Run Options to Standard in my project file . The breakpoints were working ok when I loaded the project originally . Any ideas anyone ?.

Tim
0 Kudos
Message 1 of 2
(2,963 Views)
Here are a couple of ideas.
1. Make sure the Build Option is set to Generate source code browse information, then recompile the file and try a breakpoint.
2. Is the .c file excluded from your project and its .obj file included? Excluded files are shown grayed-out in the project window. Toggle exclusion by highlighting the file name in the project window and pressing Ctrl-E. You can't break in an object file.
3. Are you sure that functions in the c file are being called? In a c file in which breakpoints work, set a break point on a call to a function in the c file that doesn't stop on a breakpoint. At the working break point, step into (not over) the function call and see where you go.
0 Kudos
Message 2 of 2
(2,963 Views)