Speed up visual studios debugger

This is a discussion on Speed up visual studios debugger within the C++ Programming forums, part of the General Programming Boards category; I stop programming on my personal computer a while ago. When I got Visual studio it ran kinda slow with ...

  1. #1
    Registered User LAURENT*'s Avatar
    Join Date
    May 2012
    Posts
    45

    Speed up visual studios debugger

    I stop programming on my personal computer a while ago. When I got Visual studio it ran kinda slow with builts, but I dealt with it. My programs got bigger and I just started doing everything at my college. I'm not sure if this is the right place but is there anyways to speed up builts/ debugging?

  2. #2
    Registered User
    Join Date
    May 2006
    Posts
    100
    I think the difference between building and rebuilding your stuff is that rebuilding will clear some sorts of things that are no longer relevant from the project folder. Try doing that on each of your up-to-date projects, if you haven't already.

  3. #3
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,248
    What aspects of the VS experience do you consider slow? Can you be more specific? Just how big is your source code, and how many header files and source files is it made of?
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  4. #4
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,139
    Generally speaking, VS is reading and writing files on each compile. Maybe you put your projects on some kind of slow, removable media or cloud storage to take them to college and have them at home at the same time? Put your projects in a location with very fast read/write access. Buying an SSD sped up my compile times from 20 minutes to 3 minutes.

    If that's not your problem, more information about project size and file could would indeed be helpful.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  5. #5
    Registered User LAURENT*'s Avatar
    Join Date
    May 2012
    Posts
    45
    Well in terms of size I was struggling with a simple void function that prints "hey". After I added more functions and datatypes I got fed up with the speed. Do I need to put everything on the C: drive?

  6. #6
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,765
    It makes no difference where you put your files.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  7. #7
    Registered User
    Join Date
    May 2010
    Posts
    2,803
    It makes no difference where you put your files.
    Actually it can make a difference. If the files are on a slow medium, for example a floppy disk or being accessed over a slow network connection there can be a great difference in access speed, hence compile time. So if your files are not local, putting them on the local medium will probably help compile speed.

    Jim

  8. #8
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,139
    Quote Originally Posted by LAURENT* View Post
    Well in terms of size I was struggling with a simple void function that prints "hey". After I added more functions and datatypes I got fed up with the speed. Do I need to put everything on the C: drive?
    Care to elaborate what you mean with "speed"? Building a single file should not exceed a few seconds.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  9. #9
    RoD
    RoD is offline
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    Quote Originally Posted by Elysia View Post
    It makes no difference where you put your files.
    Networks, USB keys, SD cards, Cloud Storage, all of these things can cause a performance decrease in VS especially if the computer is already under the weight of VS.

    A few questions, surprised they have not been asked yet. What version of VS? What version of Windows? Hardware specs? any other apps sluggish? If so which ones?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Advantages of microsoft visual studios
    By Daftatt in forum Tech Board
    Replies: 44
    Last Post: 05-21-2011, 02:11 AM
  2. New to Visual Studios, help plz
    By allen9190 in forum C++ Programming
    Replies: 1
    Last Post: 03-17-2010, 11:45 AM
  3. Visual Studios Help
    By peter94 in forum Tech Board
    Replies: 3
    Last Post: 10-19-2008, 08:38 PM
  4. Visual studios and C
    By potato in forum C Programming
    Replies: 6
    Last Post: 04-10-2008, 11:36 PM
  5. MSDN Documentation with Visual Studios
    By dalek in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 08-20-2003, 06:01 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21