weird break point

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Fu Chen

    weird break point

    Hi!
    I have really weird break point. Look at my screen shoot


    First break is normal and can stop when program run to that position.
    Second break show with a question symbol inside. move the mouse cursor
    over it. It say the break won't be hit for no runnable code associated
    with it. But I can stop at the first position and get to the second
    one by trace step by step. In fact, the lines below that has the same
    bad behaviour, the lines above it act as normal break.

    I really don't know what's wrong. Is it a bug of Visual Studio or a my
    own fault? It happens in several files in my workspace. I can't bear
    it any longer. I have rebuild the project several times, but with same
    result. Anyone know the solution to get rid of it?

    Thanks!!
  • Alvin Bruney

    #2
    Re: weird break point

    I had this happen last week as well. I was dealing with thread code then and
    the thread stack wasn't loaded yet. I've seen it happen when code is
    unreacheable as well. This doesn't seem to apply to your case.

    I'd suggest you repost this to the MS debugger newsgroup where you can get
    some specific help on it. MS debugger gurus actively monitor this group.

    --


    -----------
    Got TidBits?
    Get it here: www.networkip.net/tidbits
    "Fu Chen" <novalet@yahoo. com.cn> wrote in message
    news:46c1ab97.0 311020601.4dd7b 79c@posting.goo gle.com...[color=blue]
    > Hi!
    > I have really weird break point. Look at my screen shoot
    > http://www.mapsea.com/vs.jpg
    >
    > First break is normal and can stop when program run to that position.
    > Second break show with a question symbol inside. move the mouse cursor
    > over it. It say the break won't be hit for no runnable code associated
    > with it. But I can stop at the first position and get to the second
    > one by trace step by step. In fact, the lines below that has the same
    > bad behaviour, the lines above it act as normal break.
    >
    > I really don't know what's wrong. Is it a bug of Visual Studio or a my
    > own fault? It happens in several files in my workspace. I can't bear
    > it any longer. I have rebuild the project several times, but with same
    > result. Anyone know the solution to get rid of it?
    >
    > Thanks!![/color]


    Comment

    • Grant Richins [MS]

      #3
      Re: weird break point

      Try turning of incremental compile and then rebuild everything.

      Also make sure you have the latest service packs installed.

      Both are known to cause debugger stepping problems and possibly could affect
      breakpoints.

      --
      --Grant
      This posting is provided "AS IS" with no warranties, and confers no rights.


      "Fu Chen" <novalet@yahoo. com.cn> wrote in message
      news:46c1ab97.0 311020601.4dd7b 79c@posting.goo gle.com...[color=blue]
      > Hi!
      > I have really weird break point. Look at my screen shoot
      > http://www.mapsea.com/vs.jpg
      >
      > First break is normal and can stop when program run to that position.
      > Second break show with a question symbol inside. move the mouse cursor
      > over it. It say the break won't be hit for no runnable code associated
      > with it. But I can stop at the first position and get to the second
      > one by trace step by step. In fact, the lines below that has the same
      > bad behaviour, the lines above it act as normal break.
      >
      > I really don't know what's wrong. Is it a bug of Visual Studio or a my
      > own fault? It happens in several files in my workspace. I can't bear
      > it any longer. I have rebuild the project several times, but with same
      > result. Anyone know the solution to get rid of it?
      >
      > Thanks!![/color]


      Comment

      Working...