Community
Participate
Working Groups
Breakpoint's ignore count gets decreased by 1 every time the breakpoint is hit. This is not the expected behavior, the ignore count should not change.
Where do you see it decreased? My guess is that GDB indicates the decrease to indicate how many more ignores will be done. I'm not sure when that count should go back to it's original value? For a new session at least. Maybe also when disabled then re-enabled? Maybe... maybe not...
(In reply to Marc Khouzam from comment #2) > Where do you see it decreased? My guess is that GDB indicates the decrease > to indicate how many more ignores will be done. > In the Breakpoints view. You're right, it is updated when a "breakpoint-modified" event occurs. > I'm not sure when that count should go back to it's original value? For a > new session at least. Maybe also when disabled then re-enabled? Maybe... > maybe not... We just shouldn't change the "ignore count" value in the platform breakpoint. It's bad when we have two running sessions with the same breakpoint set in both. In this case the "ignore count" decreases every time the breakpoint is hit in either session. This is definitely not the expected behavior. Showing the hit count is a good idea but it should a part of the new Breakpoints view that would show target breakpoints as children of platform breakpoints. At least, that is my understanding.
(In reply to Mikhail Khodjaiants from comment #3) > We just shouldn't change the "ignore count" value in the platform > breakpoint. It's bad when we have two running sessions with the same > breakpoint set in both. In this case the "ignore count" decreases every time > the breakpoint is hit in either session. This is definitely not the expected > behavior. > > Showing the hit count is a good idea but it should a part of the new > Breakpoints view that would show target breakpoints as children of platform > breakpoints. At least, that is my understanding. Right, we have a conflict between ignore count and hit count. We really need to show target breakpoints for this to work properly.