?
Solved

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

Posted on 2013-10-29
5
Medium Priority
?
492 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 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 2000 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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

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

Tech giants such as Amazon and Google have sold Alexa and Echo to such an extent that they have become household names. And soon they are expected to be used by commoners in their homes, ordering takeout, picking out a song, answering trivia questio…
There are literally thousands of Exchange recovery applications out there. So how do you end up picking one that’s ideal for your business & purpose? By carefully scouting the product’s features, the benefits it offers you, & reading ample reviews f…
Video by: Tony
This video teaches viewers how to export a project from Adobe Premiere Pro and the various file types involved.
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

621 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