Why is running in the IDE so slow

  • Thread starter Thread starter Just Me
  • Start date Start date
J

Just Me

I have an App that takes maybe 10 minutes in the IDE but when I run the .exe
directly in windows it take maybe 3 seconds.

Is that to be expected?


Thanks
 
Are you doing a lot of data-processing in the routine and do you do a lot of
debug.write or trace stuff in it?

Chris
 
Hi,

No; there's something wrong. I typical app that takes, say, 15 seconds to
load in the ide, will load in Windows - same pc - in about 3 seconds. But
no way 3 seconds v 10 minutes.

Bernie Yaeger
 
10 minutes/ 3 seconds to do what?

If you create a brand new VB.NET project, no controls, hit Run, it takes 10
minutes to display the window?

Jeff
 
Thanks
A little more info:
It's not the loading that takes time.
I "Start" the app in the IDE and it acts OK until I cause it to do a certain
thing.
This take a while but when that completes it acts OK.

Same process in Windows and it only take a short while to do that certain
thing.

Thanks
 
And the "thing" is??

Just Me said:
Thanks
A little more info:
It's not the loading that takes time.
I "Start" the app in the IDE and it acts OK until I cause it to do a certain
thing.
This take a while but when that completes it acts OK.

Same process in Windows and it only take a short while to do that certain
thing.

Thanks
 
Hi,

So that means that the applications main form appears okay quickly?
Some solutions of mine that have setup projects in them take a while to
compile if I am compiling all 3, do you have any setup projects in the
solution? How many projects *do* you have in the solution?

Nick.
 
Thanks for the replies.

The problem is not in the loading or compiling of the program since the
program works well except when I cause it to perform a certain function.

I just hoped someone would know something like xxx is much slower when
executed in the IDE then in straight windows.

I think there is much listbox reading, string formatting, and picturebox
text drawing it the problem function. (It's a problem function only in the
IDE!)

Of course these happen whether in the IDE or straight Windows.

Thanks
 
You "think"? Did you write the code?

Comment out suspect code, and recompile, or put in run-time logging...

Jeff
 
Jeff Dillon said:
You "think"? Did you write the code?
Yes


Comment out suspect code, and recompile, or put in run-time logging...

It's a big app.
 
It's a big app, and you're just testing it NOW? Did it ever run ok?

Surely you tested it along the way...

Jeff
 
It was always slow in the IDE.

Jeff Dillon said:
It's a big app, and you're just testing it NOW? Did it ever run ok?

Surely you tested it along the way...

Jeff
 

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

Back
Top