NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI Breakpoints not honored in TestStand

I have a weird issue that I thought was working before....

I am trying to debug CVI dll code from TestStand using the debugger. My sequence calls the functions using the CVI adapter and works properly. When I try to debug and step into the code from TestStand the .c file opens but there are no breakpoints. If I open this .c file in a separate instance of CVI the original breakpoints are there.

Is there something corrupted in TestStand?? I tried replacing the adapter CVI files , but it did not fix the problem.
0 Kudos
Message 1 of 4
(3,405 Views)
Hi,

You need to launch the seq editor from CVI. Check out the TestStand User manual 'Debugging DLLs' Chapter 13-14

Hope this helps
Ray Farmer
Regards
Ray Farmer
Message 2 of 4
(3,405 Views)
> I have a weird issue that I thought was working before....
>
> I am trying to debug CVI dll code from TestStand using the debugger.
> My sequence calls the functions using the CVI adapter and works
> properly. When I try to debug and step into the code from TestStand
> the .c file opens but there are no breakpoints. If I open this .c file
> in a separate instance of CVI the original breakpoints are there.
>
> Is there something corrupted in TestStand?? I tried replacing the
> adapter CVI files , but it did not fix the problem.

Nothing is broken.

The project you use to build your DLL and the project that TestStand uses to
run CVI adapter steps in an external instance of CVI are two different CVI
projects. They just both access the same source file. Breakpoin
ts are
saved with the project file, not the source file.

If you want to use the breakpoints in the DLL project file, you'll need to
launch the Sequence Editor from CVI, as the other reply to your post
mentions.

Or you can step into your source from TestStand, then set the breakpoints
you need and proceed.

Good luck,

Bob.
Message 3 of 4
(3,405 Views)
Thanks ! I talked to tech support and they said the same thing.
0 Kudos
Message 4 of 4
(3,405 Views)