3 posts, 0 answers
  1. Michel
    Michel avatar
    19 posts
    Member since:
    Jan 2011

    Posted 24 Jan 2011 Link to this post


    I have a solution and one of my step have code behind. I set a break point there and if I start the debugger from the TEST VIEW it will stop only if I bush the button "Start debugger (F5)" just before and stop it.... If I do not do that and only rebuild the solution and start the debugger from TEST VIEW without pressing F5, the break point that is set to new code do not stop on debugging .... What I do wrong ?


  2. Cody
    Cody avatar
    3360 posts

    Posted 27 Jan 2011 Link to this post

    Hi Michel,

    First I apologize for the delay in responding to your problem.

    The behavior you describe is not the normal behavior for Visual Studio. Normally the test immediately starts execution when you click "Debug Selection" from Test View and then it will stop when it hits the breakpoint in your coded step. At least that's the way it has always worked for me.

    Does the test appear to be running prior to hitting F5 the first time, or does it appear paused somewhere? It almost sounds like you are hitting another earlier breakpoint before the one you set in your code behind. Is it possible there's another breakpoint set somewhere else? You can view the list of breakpoints via Debug -> Windows -> Breakpoints.

    If there are no other breakpoints set and you are still experiencing this problem I'd like to look at this problem on your computer via GoToMeeting. Let me know what time zone you are in and your availability and I'll setup the meeting. I'm in Austin, TX which is Central Time (GMT -6).

    Kind regards,
    the Telerik team
    Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
  3. Michel
    Michel avatar
    19 posts
    Member since:
    Jan 2011

    Posted 28 Jan 2011 Link to this post

    Thanks for answer but I found, it was related to Visual Studio environment.

Back to Top