Thread: Breakpoints in VC7.1

  1. #1
    Registered User
    Join Date
    Aug 2004

    Question Breakpoints in VC7.1

    Hi! I'm facing 2 issues, not sure if they're connected.
    1). I'm running 'c' code on MSVC++ 7.1. It's running in the console mode (/SUBSYSTEM=CONSOLE). For some reason, it's not entering "main" upon start-up. It's entering another function that's part of the project.

    2). I'm not able to set any breakpoints. I get the message ""The breakpoint will not currently be hit. Invalid file line"..what does this mean? The functions in this file are not under any #ifdef and are perfectly valid.

    Please help,
    Nidhi Mathew

  2. #2
    Registered User glUser3f's Avatar
    Join Date
    Aug 2003
    Welcome to the forums

    Make sure you're linking debug info to the executable:

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Hardware Breakpoints
    By Hawkin in forum C Programming
    Replies: 14
    Last Post: 02-24-2008, 09:24 PM
  2. conditional breakpoints and inline functions
    By Mario F. in forum C++ Programming
    Replies: 2
    Last Post: 08-10-2006, 08:30 PM
  3. Visual C++ 2005 Express Edition: Breakpoints not working
    By Bird Killer in forum C++ Programming
    Replies: 7
    Last Post: 03-31-2006, 10:38 AM
  4. annoying breakpoints
    By Benzakhar in forum Windows Programming
    Replies: 2
    Last Post: 01-17-2004, 01:22 PM
  5. how do i get it to show the breakpoints
    By Shadow12345 in forum C++ Programming
    Replies: 1
    Last Post: 11-24-2002, 09:13 PM