TestStand 2.0 running on Windows 2000 Pro SP2.
I have a large custom process model (~377KB). I have noticed some strange
TestStand behavior while attempting to run the sequence files that use my
custom process model.
If have no breakpoint, but I check "Execute -> Break on First Step" in the
Sequence Editor and press F5, TestStand stops, but NOT on the first step in
my process model's Setup step group, as I would expect. Instead it
curiously stops on something like to 20th step in the Setup step group. It
always stops on the same wrong step. There is no branching before this
step. This "wrong step" is set to Normal Run Mode and has no break point.
I am at a loss to understand why TestStand is stopping on this step and not
my first step.
I experimented by placing a real break point on the first step in my process
model's Setup step group, but left "Execute -> Break on First Step" enabled.
TestStand dutifully break points on this true first step. When I hit F5 to
continue, execution proceeds normally. It does NOT stop on the "wrong" step
that it stops on if no breakpoint is set (or any other non-breakpointed
step). Its as if TestStand thinks it has already broke on the first step.
Removing the breakpoint on the true first step, but leaving "Execute ->
Break on First Step" enabled, results in TestStand breaking on the "wrong"
step again.
It appears as though some internal step order data in TestStand is getting
confused and it somehow thinks by 20th step is my first step for the
purposes of "Execute -> Break on First Step".
This is more than a minor annoyance as I'm seeing intermittent,
non-reproducable bugs that indicate some of my Setup step groups may not be
getting called. If I set breakpoints on these steps, everything works fine
and I never see the problems. If I don't set breakpoints and use
"Execute -> Break on First Step", then one out of every thirty or so
executions, things act like my Setup code was skippped (as if TestStand were
really starting on the 20th or so step). I can't say for certain that this
is whats happening, but the fact that TestStand seems to be confused as to
the actual first step in my sequence in alarming.
Is this a known issue? If so, does 2.0.1 by any chance address this issue?
If not, are there any workarounds or solutions?
Any help is appreciated.
Bob Rafuse
Etec, Inc.