Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. problem on "one or more breakpoints are not positioned on valid lines"

problem on "one or more breakpoints are not positioned on valid lines"

Scheduled Pinned Locked Moved C / C++ / MFC
debugginghelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cy163 hotmail com
    wrote on last edited by
    #1

    Hello ALL, I sometimes encountered the following errors when setting breakpoints in VC 6.0 SP6. " one or more breakpoints are not positioned on valid lines" " the breakpoints haved been moved ..." I wonder what code lines are invalide for setting breakpoint.

    K D 2 Replies Last reply
    0
    • C cy163 hotmail com

      Hello ALL, I sometimes encountered the following errors when setting breakpoints in VC 6.0 SP6. " one or more breakpoints are not positioned on valid lines" " the breakpoints haved been moved ..." I wonder what code lines are invalide for setting breakpoint.

      K Offline
      K Offline
      KarstenK
      wrote on last edited by
      #2

      it happens when files got modified without the VC6 changed the breakpoint lines correctly. For instance with an external editor and VC wasnt open.

      Greetings from Germany

      1 Reply Last reply
      0
      • C cy163 hotmail com

        Hello ALL, I sometimes encountered the following errors when setting breakpoints in VC 6.0 SP6. " one or more breakpoints are not positioned on valid lines" " the breakpoints haved been moved ..." I wonder what code lines are invalide for setting breakpoint.

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        cy163@hotmail.com wrote:

        I wonder what code lines are invalide for setting breakpoint.

        Any number of reasons could cause this. For example:

        if (some_condition && // if you set a breakpoint on this line, the debugger would move it to the next line
        some_other_condition)
        {
        ...
        }


        "A good athlete is the result of a good and worthy opponent." - David Crow

        "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups