LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Debugger crashing after F5

Constantin,

 

I resolved the issue by using dynamic linking  for my dll with windows API instead of static by adding the .lib to the project. This is a bit strange...

 

Stan

0 Kudos
Message 41 of 49
(2,944 Views)

It's been a while since my debugger crashed.  But it did just now and I finally got a chance to run your application.  I got no windows in red:

 

2015-03-04 08_11_32-Window Style.png

0 Kudos
Message 42 of 49
(2,891 Views)

Hello Electro,

 

Your windows seem to be from LabWindows/CVI. You should enter the process ID of your program (the one you are debugging with CVI).

Since you said WebBrowser.prj doesn't have the problem for you, the cause of the hang could be different in your case but it's worth a try.

 

Constantin

0 Kudos
Message 43 of 49
(2,888 Views)

Ah, of course.  My mistake. 

 

While I wait for another crash, I've been seeing these dialogs (one after the other) frequently when starting the debugger:

 

2015-01-21 14_01_54-LabWindows_CVI Message.png

 

2015-01-21 14_02_35-LabWindows_CVI Message.png

 

Are these related to this discussion or not?  For what it's worth my Execution Profiler output looks pretty good in terms of process load:

 

2015-03-04 14_53_38-execution profiler.cvip - XRF_Burn-In DEBUG.exe, pid = 7368.png

0 Kudos
Message 44 of 49
(2,874 Views)

Do you use the output queue with your com ports? If so and can disable it, set the output queue length to -1 in opencomconfig...

0 Kudos
Message 45 of 49
(2,871 Views)

Mine is already set to -1 (immediate write).

0 Kudos
Message 46 of 49
(2,869 Views)

Hello Electrolund,

 

These dialogs are normal to appear after you kill the debugger. Because you manually killed it, CVI is in a bad state.

Do you see the dialogs after you restart CVI?

0 Kudos
Message 47 of 49
(2,855 Views)

I think you're right.  After a restart, I don't think I see those anymore.  I'll pay more attention next time.

0 Kudos
Message 48 of 49
(2,845 Views)

Hello all,

 

The issue should be fixed in LabWindows/CVI 2015 f1 patch.

 

Have a nice day,

Constantin

Message 49 of 49
(1,684 Views)