Thread: debugging in msvc .NET

  1. #1
    Registered User
    Join Date
    Dec 2003
    Posts
    1

    Question debugging in msvc .NET

    hey yall,
    im kinda new to visual studio, I used emacs and gcc on Unix systems at school.

    Whenever I try to compile in the debug profile it gives me the following error message:

    "unable to start debugging:
    unable to start program c:\programming\hello\debug\hello.exe
    The system cannot find the path specified"

    C:\programming is the directory I saved the project to, I don't know why it is looking for it in the nonexistant subdirectory "debug".......

    any help would be appreciated. thanks

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Try selecting "debug" rather than "release" as the build type before pressing build.

    Note, this is different from the ctrl-f7 or whatever which just compiles the file. This by itself does not create an executable.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. MSVC 2003 Debugging delete
    By Bajanine in forum Windows Programming
    Replies: 2
    Last Post: 09-09-2007, 12:15 PM
  2. MSVC 2005 .NET Intellisense issues
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 09-19-2006, 03:04 PM
  3. Difference in MSVC 6 & MS VC .Net
    By passionate_guy in forum C Programming
    Replies: 1
    Last Post: 01-23-2006, 06:39 AM
  4. Some .NET Distribution Stats
    By nickname_changed in forum C# Programming
    Replies: 2
    Last Post: 05-14-2005, 03:41 AM
  5. Visual J#
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 10-08-2001, 02:41 PM