LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Debuging time too long

Hi!

 

I have a problem with the compilation of my program in debugging mode.

The first time I run my code in debuging mode, it works well.

But the second time (and all the followings), it  takes 15 secondes and CVI is "Not Responding" during this period.

So I would like to know what could be the cause of this problem? Memory leak? Include file?

 

And it also takes a while when I quit my program after having interrupted it with a breakpoint.

 

Thanks in advance,

Thomas 1330.

 

 

0 Kudos
Message 1 of 3
(4,121 Views)

Verify that you don't have lots of variables in the watch windows. How big is you prog and its memory usage ?

0 Kudos
Message 2 of 3
(4,084 Views)

My progran is divided into 4 source files and the main one is about 4000 lines.

But now it works well : in fact every time I closed my program, there was some allocated memory (some image structure) that was not deallocated.

And I think this remains of memory took more and more space.

But thanks for your advice.

 

Regards,

thomas1330

0 Kudos
Message 3 of 3
(4,070 Views)