Solved

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

Posted on 2013-10-29
5
468 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
[X]
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
5 Comments
 
LVL 75

Expert Comment

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

Author Comment

by:jazzIIIlove
ID: 39609193
Hi;

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

Author Comment

by:jazzIIIlove
ID: 39609195
say = click
0
 
LVL 75

Accepted Solution

by:
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?
0
 
LVL 12

Author Comment

by:jazzIIIlove
ID: 39610979
yes
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
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.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

738 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