Results 1 to 9 of 9

Thread: .Net IDE problem

Hybrid View

  1. #1

    Thread Starter
    Hyperactive Member abhid's Avatar
    Join Date
    Nov 2001
    Location
    3rd rock from the sun
    Posts
    467

    .Net IDE problem

    Hi all,
    I have a problem with my .Net IDE. Whenerver I press enter in code window or cut-paste something, the IDE hangs for few seconds.
    I am dealing with almost 4000 LOC in most of my classes and it is taking forever to make even a small change like correcting a property name.
    My machine is P4 1.8G with 512 Mb RAM. I dont see any problem with my machine configuration or .Net Installation.
    Has anybody experienced same thing? Please help.

    Thanks in advance,
    abhid

  2. #2
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    hmm dunno if it's because that but u should make classes with lesser lines of code, try each class in a different file with about 500-1000 lines of code
    \m/\m/

  3. #3
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Are you talking about working with the form and the controls directly, or are you talking about working with the code itself?

    If you have a lot of controls on a form, it takes a while for the IDE to render it completely. I think this is something they have to optimize in the next release. Anyway, I have no problems when dealing with the code itself though. I am running a 450 P2 with 196 MB of ram.

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Can Apps. memory-resident do this lateness?I'm not sure but I bet it affect the performance.

  5. #5

    Thread Starter
    Hyperactive Member abhid's Avatar
    Join Date
    Nov 2001
    Location
    3rd rock from the sun
    Posts
    467
    Originally posted by hellswraith
    Are you talking about working with the form and the controls directly, or are you talking about working with the code itself?

    If you have a lot of controls on a form, it takes a while for the IDE to render it completely. I think this is something they have to optimize in the next release. Anyway, I have no problems when dealing with the code itself though. I am running a 450 P2 with 196 MB of ram.
    Thanks all for anwering.
    I am not working on windows forms. It is a class library and I experience same thing for classes with 1500-2000 LOC. I am wondering if this amount of small code can cause IDE to freeze for 5-6 sec.
    Unfortunately I cant reduce LOC since I must write it according to spces I have received.
    Does anybody have any information or links regarding .Net IDE and compiler details?

    Please let me know
    Thanks in advance,
    abhid

  6. #6
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    I just put 1300 lines of code in one class. Opening, closing the class in the code window wasn't even close to a problem.

    Now, that same class when opened in the win forms designer, that took a while.

    Do you use the #region and #endregion tags to collapse your code? This may help...

  7. #7
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    I've just remember that I face such this problem and ends with format .No way to trace where this little bug exists.

  8. #8
    Addicted Member Sheppe's Avatar
    Join Date
    Sep 2002
    Location
    Kelowna, BC
    Posts
    245
    A couple of suggestions:

    1) If you have dynamic help turned on, turn it off.
    2) Kill the aspnet_wp process. It has a tendency to grow to large sizes and slow things up. It will restart itself.

    HTH
    [vbcode]
    On Error Goto Hell
    [/vbcode]
    Sheppe Pharis, MCSD
    Check out http://www.vb-faq.com
    Click here for access to the free Code-Express source code and component sharing network for VB6
    Want a better way to skin your .NET applications? Click here!

  9. #9

    Thread Starter
    Hyperactive Member abhid's Avatar
    Join Date
    Nov 2001
    Location
    3rd rock from the sun
    Posts
    467
    thanks for all the tips,
    I think I found out the reason. As the number of class files (.vb) in the solution increase the IDE tends to get slower and slower.

    I tried by reducing the class files and then it was running quiet satisfactorily.

    Thanks all,
    abhid

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width