Solved

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

Posted on 2013-10-29
5
454 Views
Last Modified: 2013-12-13
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
Comment
Question by:jazzIIIlove
  • 3
  • 2
5 Comments
 
LVL 74

Expert Comment

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

Author Comment

by:jazzIIIlove
Comment Utility
Hi;

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

Author Comment

by:jazzIIIlove
Comment Utility
say = click
0
 
LVL 74

Accepted Solution

by:
käµfm³d   👽 earned 500 total points
Comment Utility
On your project properties page, within the "Build" tab, is the "Define DEBUG constant" box checked?
0
 
LVL 12

Author Comment

by:jazzIIIlove
Comment Utility
yes
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

A high-level exploration of how our ever-increasing access to information has changed the way we do our jobs.
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…
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.
Video by: Tony
This video teaches viewers how to export a project from Adobe Premiere Pro and the various file types involved.

763 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

6 Experts available now in Live!

Get 1:1 Help Now