MC++ programs run slower from VS.net?
-
Hey guys, I find that GUI based MC++ programs start slower from VS .NET than C# programs. If you start it directly without debugging using Ctrl-F5, it runs fast. But otherwise I am having to wait as long as between 5-12 seconds. Is this just me? Are others facing this problem too? Nish
The posting stats are now in PDF:- http://www.busterboy.org/codeproject/ Feel free to make your comments. Updated - May 04th, Saturday
-
Hey guys, I find that GUI based MC++ programs start slower from VS .NET than C# programs. If you start it directly without debugging using Ctrl-F5, it runs fast. But otherwise I am having to wait as long as between 5-12 seconds. Is this just me? Are others facing this problem too? Nish
The posting stats are now in PDF:- http://www.busterboy.org/codeproject/ Feel free to make your comments. Updated - May 04th, Saturday
Look at the output window, how many dlls are getting loaded? Thats probably where you see the extra startup time. James Simplicity Rules!
-
Hey guys, I find that GUI based MC++ programs start slower from VS .NET than C# programs. If you start it directly without debugging using Ctrl-F5, it runs fast. But otherwise I am having to wait as long as between 5-12 seconds. Is this just me? Are others facing this problem too? Nish
The posting stats are now in PDF:- http://www.busterboy.org/codeproject/ Feel free to make your comments. Updated - May 04th, Saturday
If you have managed and unmanaged debugging both turned on, debugging starts slower. Select only managed or only unmanaged debugging. Don't use mixed debugging
-
Look at the output window, how many dlls are getting loaded? Thats probably where you see the extra startup time. James Simplicity Rules!
James T. Johnson wrote: Look at the output window, how many dlls are getting loaded? Thats probably where you see the extra startup time. I am using IJW. So I guess the debugger's loading both managed and unmanaged symbols Nish
The posting stats are now in PDF:- http://www.busterboy.org/codeproject/ Feel free to make your comments. Updated - May 04th, Saturday
-
If you have managed and unmanaged debugging both turned on, debugging starts slower. Select only managed or only unmanaged debugging. Don't use mixed debugging
Rama Krishna wrote: If you have managed and unmanaged debugging both turned on, debugging starts slower. Select only managed or only unmanaged debugging. Don't use mixed debugging I havent touched the default settings. And anyhow I need both managed and unmanaged debugging enabled. Nish
The posting stats are now in PDF:- http://www.busterboy.org/codeproject/ Feel free to make your comments. Updated - May 04th, Saturday
-
Rama Krishna wrote: If you have managed and unmanaged debugging both turned on, debugging starts slower. Select only managed or only unmanaged debugging. Don't use mixed debugging I havent touched the default settings. And anyhow I need both managed and unmanaged debugging enabled. Nish
The posting stats are now in PDF:- http://www.busterboy.org/codeproject/ Feel free to make your comments. Updated - May 04th, Saturday
In that case you have to live with the slowness. The answer to your original question is yes I have seen this slowness all the time and is caused by mixed mode debugging.
-
Rama Krishna wrote: If you have managed and unmanaged debugging both turned on, debugging starts slower. Select only managed or only unmanaged debugging. Don't use mixed debugging I havent touched the default settings. And anyhow I need both managed and unmanaged debugging enabled. Nish
The posting stats are now in PDF:- http://www.busterboy.org/codeproject/ Feel free to make your comments. Updated - May 04th, Saturday
What's interesting is that even stepping through line by line is dead slow. I have a pretty decent machine(1.6GHZ PIII 512 MB) and it took lot of time just to step to another line in the debugger. Since then I never use mixed mode debugging. I don't know whether you have but another issue is symbol loading. I had symbols for all XP dlls and it also slowed down the startup. There is selective symbol loading in VS.NET but so far I have not tried it.
-
What's interesting is that even stepping through line by line is dead slow. I have a pretty decent machine(1.6GHZ PIII 512 MB) and it took lot of time just to step to another line in the debugger. Since then I never use mixed mode debugging. I don't know whether you have but another issue is symbol loading. I had symbols for all XP dlls and it also slowed down the startup. There is selective symbol loading in VS.NET but so far I have not tried it.
Do you know if it's possible to download symbols for all the .NET files? - Anders Money talks, but all mine ever says is "Goodbye!"