Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


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

Posted on 2013-10-29
Medium Priority
Last Modified: 2013-12-13

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.

Question by:jazzIIIlove
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 39609179
Breakpoints are only hit if you say "Debug Tests", not "Run Tests".
LVL 12

Author Comment

ID: 39609193

Great but still not hitting the breakpoint even i say debug in test session.
LVL 12

Author Comment

ID: 39609195
say = click
LVL 75

Accepted Solution

käµfm³d   👽 earned 2000 total points
ID: 39609270
On your project properties page, within the "Build" tab, is the "Define DEBUG constant" box checked?
LVL 12

Author Comment

ID: 39610979

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

598 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question