Solved unit case done but console.writeline or debug.writeline not visible.

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

I followed this
and write a test case in 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
  • 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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
What's the most efficient way to load up a couple of large table in C#? 5 38
VB.Net How to Exit Sub - Exit Form??? 5 51
Export import database 4 43
Connection String 16 43
The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
All of the resources available today make learning a new digital media easier than ever-- if you know where to begin. This is a clear, simple guide to a few of the basic digital art mediums and how to begin learning them on your own.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.
An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.

896 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now