Simon Harriyott

Breakpoint bug in Visual Studio 2008

I'm not sure if this is just my setup, but I've noticed a little buglet. You can try this at home too. You just need Visual Studio 2008 and a .NET 3.5 C# project:
  1. Using the mouse, position the cursor on a line of code (e.g. line 38)
  2. Without changing the mouse position, click in the breakpoint margin on a different line of code (e.g. line 51).
  3. Notice that the breakpoint appears on line 38, instead of the expected line 51.
  4. Clicking again in line 51's margin removes the breakpoint on line 38.
A little annoying, as I tend to use the mouse for breakpoints more than the F9 key.

[Tags: ]
16 January 2008