09-03-2013 01:57 AM
Hello NI,
I found a way to launch the LabWindows/CVI JIT-debugger on CVI itself...
This is the procedure:
Solved! Go to Solution.
09-03-2013 02:34 AM
Is this issue related to CVI2013? I sometimes use this feature and have never had problems up to release 2013SP1.
09-03-2013 02:38 AM
Roberto, I am sorry, I can't tell... after upgrading to CVI2013 this is my only version...
09-03-2013 03:15 AM
OK, let's see if somebody else can comment on this.
I haven't yet upgraded to 2013 (and looking at all the observations you are posting on that, I suppose I will wait for SP1 release! )
09-03-2013 10:35 AM
Wolfgang,
How easy is it for you to reproduce this? Can you reproduce it with a simple shipping example?
For example, in 2013 I've just put a breakpoint in line 40 of samples\userint\2yaxis.c and then invoked Interpret As on the hmainPanel variable, changed it to a void * and it worked fine. So I'm wondering if it only crashes when some other factor is thrown into the mix.
Luis
09-03-2013 01:11 PM
I'll try... I can reproduce it with the same project on different computers (and OS), so I would exclude data/file corruption. I cannot reproduce it (yet) with simple CVI samples.
But you have my slow compiling project, you can use that... I suspect that you need a certain amount of variables.
09-04-2013 05:50 AM
Hi Luis,
I spent an hour but saved your time : I have prepared a VERY much simplified demo, and it turns out that the JIT debugger is due to the function prototype
void ( *MathFitFunction ) ( double * );
If you remove it everything behaves properly.
09-04-2013 07:25 AM
You're right, I've now been able to reproduce it as well. It seems as if the presence of any function pointer, whether initialized or not, causes Interpret As to crash the debugger. The ADE doesn't seem to be affected, but you will probably need to restart your debugging session when this happens.
I've created bug report 425151.
I really appreciate the time you spent narrowing this down for me. Thank you!
Luis
09-04-2013 07:53 AM
Well, we all appreciate your great support and bug fixes... Muito obrigado!
09-04-2013 07:58 AM
Bitte sehr!