Could it be you are running in Release mode, and due to compiler
optimisations those areas are not being run?
E.g.
if( condition == false)
{
int i = 0; // Break point here <- This breakpoint will not be hit, since it
is useless to create an unused local variable.
}
On Mon, Nov 23, 2009 at 7:28 AM, dougloj <[email protected]> wrote:
> Hi.
>
> I have an ASP.NET application written in C# running under IIS 7. I've
> tried to debug it using VS 2008 w/ SP1 first under Vista Home Premium,
> then under XP Pro. Each time, the first break point gets hit, but no
> other break points get hit after that.
>
>
> The break points are there. I do not get a "The breakpoint will not
> currently be hit" message. The code gets executed, but the debugger
> does not stop at any break points after the first one.
>
> I never had this problem with VS 2005. Does anybody have any ideas
> about what might be wrong?
>
>
> Thanks for the bandwidth.
>
>
> - Doug
>