NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Debug of Process Model

I would like to run in debug mode so as to be able to step through and follow the sequential process model. I know how to create the debug code for my app, and if I wanted to step through that code I know I'd set a breakpoint at the desired step in my sequence. What I'm not sure about is that since the Test UUT entry point runs through Initialization, Get Current Report Options, Get UUT Serial Number, how do I set a breakpoint at those steps, since they're in a different sequence.
0 Kudos
Message 1 of 6
(3,460 Views)
Hi mrbean,

The easies way is to open the process model sequence file. Set the breakpoint(s) at the place you want to stop in the process model.
Then run your sequence file.

There are some options in the Station Options dialog which when set will allow tracing in the process model. You can then set the menu item Break on first step, this will stop at the first step in the process model.

Hope this helps
Ray.
Regards
Ray Farmer
0 Kudos
Message 2 of 6
(3,459 Views)
I was able to get the debug to work (somewhat). It stops at Get Report Options (where I set the breakpoint), but when I select StepInto, it just goes into the subsequence. Am I limited to just looking at what TestStand provides, i.e. parameters, etc, (and maybe that's enough), or should I build a debug version of the SequentialModel seq (if allowed) and step through the code?
0 Kudos
Message 3 of 6
(3,456 Views)
Hi

Are you using the SeqEditor to run your SequenceFile?

Ray
Regards
Ray Farmer
0 Kudos
Message 4 of 6
(3,447 Views)
Yes, I'm using the SeqEditor. I opened the SequentialModel sequence, set a breakpoint at getReportOptions. Then I opened my App sequence and told it to run.
0 Kudos
Message 5 of 6
(3,445 Views)
Hi,

Most of the Process Model sequences are ActiveX API calls, so there not a lot you can do with them.

There's still a lot of information that you can obtain from the various variable, globally, locally.


Also, you can always call SeqEditor from CVI as an external Process, so that you can debug your CVI dll.

Regards
Ray.
Regards
Ray Farmer
0 Kudos
Message 6 of 6
(3,437 Views)