LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Slow compilation in debug configuration

When compiling in debug configuration, the process "appears" to stall. The mouse hourglass icon is displayed.  If I open Task Panel, look at the application list, do nothing else, and then exit, the compile completion popup immediately appears. When compiling in release configuration, the process completes in a few seconds.
 
My project is 10 files, 6 threads and using traditional NI-DAQ.
 
Running CVI 7.1.1  on a  new Dell Dimension 8400, P4, 3 GHz, 1 GB,  XP.
 
Any thoughts on why debug compilation would be so slow compared to release compilation?
 
Thanks,
 
Scott
 
 
0 Kudos
Message 1 of 2
(2,804 Views)

Hi Scott,

I couldn't say for sure why this is happening but I could venture a guess.  It's probably because it takes the compiler a lot of extra time to create the .cdb file for the debug version of the code.  They are typically pretty large and it's probably some pretty complex stuff going on in there in order to correctly reference the correct locations in all of your source/header files when an error occurs.

0 Kudos
Message 2 of 2
(2,797 Views)