06-05-2019 01:57 AM - edited 06-05-2019 02:20 AM
Hello NI,
it seems that data tooltips do not work, i.e., do not show any value within a parallized for loop, see below:
If the mouse is, e.g., in line 240, the value of index or spectrum_data_points is shown, if the mouse is in line 232 instead, no value shows. The same is true for x_data (line 235 versus line 241...)
Maybe I should add that the breakpoint was set after the loop in line 264.
Solved! Go to Solution.
06-05-2019 06:52 AM
When hovering over an expression in debug mode, CVI asks the debugger to evaluate the expression. In this case, the debugger is unable to evaluate "x_data" in its scope on line 235. However, the evaluation works if you are suspended inside the for loop.
This is not a new behavior (not introduced in CVI 2019). I suspect it's not straightforward to fix, but we can file a bug report and give it a try if it bothers you.
06-05-2019 07:09 AM
Hi catalincocis,
thanks for the quick reply!
- I dit not say that this behaviour is new to CVI 2019
- I could understand that evaluating arrays is complicated in parallized sections, but it also does not work for simple variables as spectrum_data_points in line 232.
- yes, it bothers me because sometimes the workaround to find the variable outside the loop may require jumping to a code section far apart, so an attempt to improve on this is welcome
06-12-2019 08:20 AM
Hi catalincocis,
I am wondering if you filed a bug report - if so, what is the bug ID?
Thanks,
Wolfgang
@catalincocis wrote:
...I suspect it's not straightforward to fix, but we can file a bug report and give it a try if it bothers you.
06-13-2019 06:59 AM - edited 06-13-2019 07:00 AM
@Wolfgang wrote:
Hi catalincocis,
I am wondering if you filed a bug report - if so, what is the bug ID?
Thanks,
Wolfgang
@catalincocis wrote:
...I suspect it's not straightforward to fix, but we can file a bug report and give it a try if it bothers you.
Hi Wolfgang,
The bug ID is 739395.
06-13-2019 07:48 AM
Thanks