Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 501
  • Last Modified:

asp.net unit case done but console.writeline or debug.writeline not visible.

Hi;

I followed this http://msdn.microsoft.com/en-us/library/ms182526(v=vs.80).aspx
and write a test case in aso.net and my test case is failing, so i want to debug it. Breakpoints are not getting affected. I also try to console.writeline or debug.writeline but cannot see them in my output in debug mode, in "show output from debug". What to do?

I am in VS2010.

Regards.
0
jazzIIIlove
Asked:
jazzIIIlove
  • 3
  • 2
1 Solution
 
käµfm³d 👽Commented:
Breakpoints are only hit if you say "Debug Tests", not "Run Tests".
0
 
jazzIIIloveAuthor Commented:
Hi;

Great but still not hitting the breakpoint even i say debug in test session.
0
 
jazzIIIloveAuthor Commented:
say = click
0
 
käµfm³d 👽Commented:
On your project properties page, within the "Build" tab, is the "Define DEBUG constant" box checked?
0
 
jazzIIIloveAuthor Commented:
yes
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now