This is a migrated thread and some comments may be shown as answers.

Debug

2 Answers 74 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michel
Top achievements
Rank 1
Michel asked on 24 Jan 2011, 10:41 PM
Hi,

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 ?

Thanks

Michel

2 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 27 Jan 2011, 11:36 PM
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,
Cody
the Telerik team
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
0
Michel
Top achievements
Rank 1
answered on 28 Jan 2011, 09:50 PM
Thanks for answer but I found, it was related to Visual Studio environment.

Tags
General Discussions
Asked by
Michel
Top achievements
Rank 1
Answers by
Cody
Telerik team
Michel
Top achievements
Rank 1
Share this question
or