LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

the process exited while it was evaluating your watchpoint

Once in a while during debugging I encounter the above mentioned popup panel from CVI; unfortunately, clicking the OK button the debugged program is aborted subsequently. Is this a know issue? So far I could not find out the exact circumstances - is there any specific setting I should check?

 

Thanks, Wolfgang

0 Kudos
Message 1 of 8
(3,965 Views)

Hi Wolfgang,

which version of CVI are you using? Do you have any code we could reproduce the issue with?

 

Thanks and best regards,

 

Peter

--
Peter A.
Field Sales Engineer, NI Germany
0 Kudos
Message 2 of 8
(3,942 Views)

Hi Peter,

 

it occurs for CVI 9.0. As mentioned, it shows up 'once in a while', which means that I can not reproduce it for 100%.

However, it seems related to code such as

               if ( ( ( ( panelappearance.selected_panel_item == 2 ) ||
                         ( panelappearance.selected_panel_item == 3 ) ||
                         ( panelappearance.selected_panel_item == 4 ) ) &&
                       ( ( control_style == CTRL_FLAT_FRAME ) ||
                         ( control_style == CTRL_RAISED_FRAME ) ||

...

 

that is, for a long if case, may be in combination with structure elements...

If this problem is not yet know, I possibly can investigaste it further.

Wolfgang

0 Kudos
Message 3 of 8
(3,935 Views)

Hi Wolfgang,

to my knowledge this is not a known issue für CVI 9.0. It would be great if you could gather more information on how to reproduce the issue.

 

Have you tried deleting all your watch variables/expressions?

 

Peter

--
Peter A.
Field Sales Engineer, NI Germany
0 Kudos
Message 4 of 8
(3,921 Views)

Hi Peter,

 

I am sure that I do not have ANY watch expression - the Watch Window is empty.

 

Possibly I found a related problem (but may be it is not related at all) - but again CVI crashes when debugging code: I have a function call with a breakpoint; now if program execution stops and I look at the code, hovering with the mouse over a parameter to see its value, I receive the popup window: A custom control callback raised an exception.

 

If I do not touch the mouse and simply wait after the breakpoint, nothing happens and by pressing F5 I can continue the program. So it appears that the crash is related to the variable view...

After the crash, restarting the program, the varaible view is gone - nothing happens if I move the mouse over any parmeter: I have to close and restart CVI to make it work...

 

Hope this helps a bit,

 

Wolfgang

0 Kudos
Message 5 of 8
(3,851 Views)

Hello Wolfgang, 

 

This latest issue you've reported sounds like an issue we know about in CVI 9.0 when using the new precompiled header file option.  Are you using this feature?  If so, disabling it will get rid of the crashes for the time being, and when the upcoming maintenance version is released, there should no longer be an issue. 

 

NickB

National Instruments  

0 Kudos
Message 6 of 8
(3,838 Views)

Hi Nick,

 

indeed, I am using the precompiled incude files. I'll turn it off, may be, the first issue will disappear, too... anyway, I will let you know.

 

Thanks, Wolfgang

0 Kudos
Message 7 of 8
(3,824 Views)

The problem has also been observed to occur in LabWindows CVI 8.1.1.  The problem occurs on multiple applications and multiple CVI installations.  It wil occur infrequently, but can occur when you inadvertently hover the mouse over a variable that you don't even intend to inspect.

 

One thing in common is that we are using a .lib file created from the old CVI test executive 2.0, and all of our test functions are called from that.  I've observed similar behavior with CVI 9.  I'm not sure which sub-version it was - probably an early one.

 

I un-check "enable data tooltips" in the CVI project window environment options to make it go away, but it also removes the desired behavior.  

0 Kudos
Message 8 of 8
(3,362 Views)