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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Media.Imaging 1 18
PrintingFoundIt(Almost!(Damn!)) 1 27
InputLanguage 1 27
Can I command line build a C# application? 6 33
In our personal lives, we have well-designed consumer apps to delight us and make even the most complex transactions simple. Many enterprise applications, however, are a bit behind the times. For an enterprise app to be successful in today's tech wo…
Healthcare organizations in the United States must adhere to the guidance of both the HIPAA (Health Insurance Portability and Accountability Act) and HITECH (Health Information Technology for Economic and Clinical Health Act) for securing and protec…
This video shows how use content aware, what it’s used for, and when to use it over other tools.
This video demonstrates how to use each tool, their shortcuts, where and when to use them, and how to use the keyboard to improve workflow.

803 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