Can't set breakpoints on an auto-property setter ?

Posted by Cristi Diaconescu on Stack Overflow See other posts from Stack Overflow or by Cristi Diaconescu
Published on 2010-04-21T11:57:50Z Indexed on 2010/04/21 12:03 UTC
Read the original article Hit count: 276

Is it just me, or does VS 2008 not allow setting a breakpoint just on the setter of an auto-property?

It looks something like this:

    public int CurrentFramesize
    {
        get; 
        protected set;
    }

and if I try to set a breakpoint on the setter line, the whole auto-property turns breakpoint-red.

© Stack Overflow or respective owner

Related posts about .net-3.5

Related posts about debugging