12-10-2010 11:50 AM
Hello,
may be I am just too tired but I can't find the error:
Using CVI 2009 SP1 I am debugging a dynamically allocated array of double values, the relevant code snippet is shown below:
the program has stopped at the breakpoint and the mouse is hovering over the &array text; the tooltip text indicates that there is at least one value, set to zero. This is as it should be (as the programmer wants it to be...).
However, if I want to inspect the array using the variable view, the view claims that the array has not been allocated and still is NULL, see below:
I have checked that there is no other variable in all the source with the same name, so both variable view and mouse tooltip text should refer to the same variable...
Please, could anybody enlighten me?
Thanks!!
Solved! Go to Solution.
12-10-2010 12:07 PM
It appears that the memory of the debugger got corrupted. After restarting CVI debugging behaves as expected.