irritating bug in debug

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

    #1

    irritating bug in debug

    I have no idea why, but when I place breakpoints when running one of my
    applications in debug mode, they never appear where I want them to,
    sometimes they even pop up in a different method than the one I've selected!
    Restarting the IDE doesn't help. OK, I give up. What do I do to work around
    this... charming behavior?

    Paul


  • PJ6

    #2
    Re: irritating bug in debug

    Never mind. Duh. I was debugging, but in "release" mode. Hmm.

    "PJ6" <noone@nowhere. net> wrote in message
    news:eTCMFQEdGH A.4892@TK2MSFTN GP02.phx.gbl...[color=blue]
    >I have no idea why, but when I place breakpoints when running one of my
    >applications in debug mode, they never appear where I want them to,
    >sometimes they even pop up in a different method than the one I've
    >selected! Restarting the IDE doesn't help. OK, I give up. What do I do to
    >work around this... charming behavior?
    >
    > Paul
    >[/color]


    Comment

    • Mythran

      #3
      Re: irritating bug in debug


      "PJ6" <noone@nowhere. net> wrote in message
      news:uE8aaREdGH A.4592@TK2MSFTN GP04.phx.gbl...[color=blue]
      > Never mind. Duh. I was debugging, but in "release" mode. Hmm.
      >
      > "PJ6" <noone@nowhere. net> wrote in message
      > news:eTCMFQEdGH A.4892@TK2MSFTN GP02.phx.gbl...[color=green]
      >>I have no idea why, but when I place breakpoints when running one of my
      >>application s in debug mode, they never appear where I want them to,
      >>sometimes they even pop up in a different method than the one I've
      >>selected! Restarting the IDE doesn't help. OK, I give up. What do I do to
      >>work around this... charming behavior?
      >>
      >> Paul
      >>[/color]
      >
      >[/color]

      that's in your case. but in my case, I get something strange.

      My projects are set up as BLL, DAL, Schema, Exceptions, WebUI/UI.
      Sometimes, when debugging, I'll place a breakpoint in a method in my BLL
      (method named Fetch), and it will break when I run it in the function named
      Fetch...but in the DAL! Go figure, sometimes, if I have a method/property
      in my UI that is named the same as a method in my typed dataset
      (automatically generated code in this), the break occurs in the
      Schema...totall y different projects ... hmm :p

      But, we've seemed to adapt to it well...if it breaks there...we get mad,
      throw out our machines, and start over :P

      Mythran

      Comment

      Working...