VC6 to VC7 upgrade, Debugging now very slow

G

Guest

Hi,

The company I work for have a project that has been developed in VC6 for
some time and now and have just moved it to work with our recently installed
Visual C++ .Net (VC7).

We are currently experiencing issues with the speed of the VC7 debugger
compared to debugging in VC6. We know it is the debugger as the debug and
release versions work as quick outside of Visual Studio as they did in vc6.

We believe it is to do with Trace functions, which we have changed to use
traceAppMsg etc and this has helped significantly. However this app throws
exceptions all the time when running rules (by design) and it is the MFC
tracing that is slowing it all down.

Various optimisation settings have been attempted but we have not yet been
able to speed it up to be anywhere near as fast as it used to run in VC6
debugger.

I wonder whether anyone could shed any light on our problems and suggest how
we can get VC7 to debug as quickly as VC6 used to?

Thanks in advance
 
W

William DePalo [MVP VC++]

Code27 said:
The company I work for have a project that has been developed in VC6 for
some time and now and have just moved it to work with our recently
installed
Visual C++ .Net (VC7).
...
I wonder whether anyone could shed any light on our problems and suggest
how
we can get VC7 to debug as quickly as VC6 used to?

From the menu, navigate to Project->Properties->Debugging

Take a look at the value for Debugger Type and make sure it is set to
"Native Only".

If it is already set that way, then I'm sorry I don't have a suggestion to
offer.

Regards,
Will
 
G

Guest

Thanks for your reply, however we have tried that debug setting and it didn't
seem to speed it up at all.

Thanks for your help though. Any other ideas?
 
W

William DePalo [MVP VC++]

Code27 said:
Thanks for your reply, however we have tried that debug setting and it
didn't
seem to speed it up at all.

Thanks for your help though. Any other ideas?

Sorry, but that's fixed it for me in the past. :-(

Regards,
Will
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top