Debugging
Posted: Mon May 26, 2008 2:14 pm
Often when I set a break-point and have
the Variable Inspector open I'd like to be
able to see the variables while the stack
is running but if I press "Run" the variables
are no longer shown unless there's another
break-point.
This is inconvenient to say the least.
Is there a way to keep the variables visible
in the VI without having to set numerous
break-point (some of which are conditional
and therefor mightn't stop the script)?
I've tried setting a condition for a variable
(red dot in right hand column) but of course
it's difficult to know what condition to test for
(as it might never occur) and whenever I've
tried to use it it's not had any effect.
Another problem is that the VI doesn't update
the variable values. Variable vDoOnce shows
as "1" but if I click on the variable name the
correct value "0" appears in the lower panel.
Is there a way to make the variables update
dynamically? This behaviour makes the
VI fairly useless.
PS What's the purpose of the scroll icon on
top right of the Variable Inspector?
the Variable Inspector open I'd like to be
able to see the variables while the stack
is running but if I press "Run" the variables
are no longer shown unless there's another
break-point.
This is inconvenient to say the least.
Is there a way to keep the variables visible
in the VI without having to set numerous
break-point (some of which are conditional
and therefor mightn't stop the script)?
I've tried setting a condition for a variable
(red dot in right hand column) but of course
it's difficult to know what condition to test for
(as it might never occur) and whenever I've
tried to use it it's not had any effect.
Another problem is that the VI doesn't update
the variable values. Variable vDoOnce shows
as "1" but if I click on the variable name the
correct value "0" appears in the lower panel.
Is there a way to make the variables update
dynamically? This behaviour makes the
VI fairly useless.
PS What's the purpose of the scroll icon on
top right of the Variable Inspector?