It debugs.. then it won't debug?

I have spent hours today with a winform with some comboxes bound to data. And something really weird has been going on. I set some*space
space*points and lately it just ignores the*space
space*points.. THEN it might stop at one so I continue and I press the button again which has a breakpoint and it ignores the breakpoint

Any idea what could be going on behind the scenes that makes VS.NET start ignoring breakpoints after a certain point


Answer this question

It debugs.. then it won't debug?

  • Ryan Lee

    I had a similiar problem where the debugger refused to start about 30% of the time, and when I quit, it told me no source code available.  After many retries it would work.

    http://support.microsoft.com/default.aspx scid=kb;en-us;Q326098

    I had to contact Microsoft and they e-mailed me the hotfix for this problem.

    - Scott

  • Joe234321

    well it seems it had to do something with the way I was opening and closing forms cause I redid the front end using just ONE FORM and its been fine since

  • UltraHAHA

    also when I*space
    space*it says

    NO SOURCE CODE AVAILABLE

    so it seems like it loses track of the debug info somehow

  • Melchior

    Just to ask the obvious: you are building a DEBUG version, right  If you look at the drop-down list at the top of Visual Studio .NET's code editor window, it should say Debug (not Release). Just wanted to check... You can't debug when building a release version. 
  • Magik Muzik

    yeah its debug ofcourse...

    so I dunno

  • It debugs.. then it won't debug?