Home
Reply
Regular Contributor
jineshmac
Posts: 43

Slow loading of debug build

Hi,

 

I created an MFC multi-document application with ACIS support using the HOOPS appwizard. It compiles without errors in release as well as debug mode(i compiled the debug version of hoops dlls myself). I am using R21 and Hoops 1813.

When I run it without debugging i.e. by pressing ctrl+F5 the application loads quickly and runs fine.

But when I run it by debugging i.e. by pressing F5, the application takes almost 30 seconds to load, after which it runs fine.

 

This problem is seriously hindering my work.  I would greatly appreciate any help in this matter.

 

Thanks,

Jinesh.

Regular Contributor
jineshmac
Posts: 43

Re: Slow loading of debug build

Hi,

 

I found out the cause and the solution.  The slow loading was because of too many break-points in the code.  I removed most of them, keeping only the required ones and the application loaded quickly.

 

Cheers!

Jinesh.