Home All Groups Group Topic Archive Search About

irritating bug in debug

Author
10 May 2006 3:11 PM
PJ6
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

Author
10 May 2006 3:13 PM
PJ6
Never mind. Duh. I was debugging, but in "release" mode. Hmm.

Show quoteHide quote
"PJ6" <no***@nowhere.net> wrote in message
news:eTCMFQEdGHA.4892@TK2MSFTNGP02.phx.gbl...
>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
>
Author
10 May 2006 3:41 PM
Mythran
Show quote Hide quote
"PJ6" <no***@nowhere.net> wrote in message
news:uE8aaREdGHA.4592@TK2MSFTNGP04.phx.gbl...
> Never mind. Duh. I was debugging, but in "release" mode. Hmm.
>
> "PJ6" <no***@nowhere.net> wrote in message
> news:eTCMFQEdGHA.4892@TK2MSFTNGP02.phx.gbl...
>>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
>>
>
>

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...totally 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