LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can´t debug a DLL in CVI 2013.

Hello everybody,

 

I am writing a protocol stack that uses many dlls, the projects works fine in CVI2012. but when I moved to CVI2013 I realize that I can´t debug an intermediate DLL.

If I press F8 (step into) I got directly to the last DLL not passing for the intermediate levels.

 

Any clue?

The same project works smoothly in CVI2012 so must be something strange from the new CVI. I've read that CVI2013 stores the debug information inside the DLL and does no uses the .cdb file anymore. 

Hope that someone can put light over this problem

 

 

Regards,

Martín

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

One interesting thing is that I can debug them using CVI2012.

 

Regards

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

Hi Martin,

 

I suspect the problem is that you rebuilt the last DLL in CVI 2013, but you did not rebuild the intermediate DLLs in CVI 2013. As mentioned in the CVI 2013 readme, you must rebuild any EXEs and DLLs built in CVI 2012 or earlier before you can debug them in CVI 2013. This is because of changes in CVI 2013.

 

I suspect this is why you can still debug the intermediate DLLs in CVI 2012.

 

If this is not the cause of the problem, let us know so we can continue to assist you.

 

Jeff

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

Looks like you are right.

 

After rebuilding everything from a scratch. it worked.

 

 

Thanks a lot.

Martín

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