Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / September 2007

Tip: Looking for answers? Try searching our database.

Console.Writeline

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
shapper - 21 Sep 2007 22:05 GMT
Hello,

Where can I see the output of console.writeline(MyVar) in VS 2005?

And do I need to debug or just run it?

Is there any other way to check the a variable value?

Thanks,

Miguel
Scott M. - 21 Sep 2007 22:33 GMT
If you are not in a console project, you'll see  your console.writeline
statements in the debug Output window.

If you are in a Windows application, you can just create a temporary
messgagebox.show statement to print your value on the screen.

Or, you could just set a breakpoint and check the various debugging
windows/intelliSense features to see your value.

> Hello,
>
[quoted text clipped - 7 lines]
>
> Miguel
bruce barker - 21 Sep 2007 22:46 GMT
to showup in the vs debugger console just:

    System.Diagnostics.Debug.Write("some text");

also see the Trace class.

-- bruce (sqlwork.com)

> Hello,
>
[quoted text clipped - 7 lines]
>
> Miguel
Just Me - 22 Sep 2007 08:48 GMT
Ive never had to use trace or debug in an asp.net application. I think if
you write you code robustly, you can usually do without it.

> to showup in the vs debugger console just:
>
[quoted text clipped - 15 lines]
>>
>> Miguel
Scott M. - 22 Sep 2007 15:30 GMT
The trace class is extremely usefull in ASP .NET.  If you haven't heard of
using in ASP .NET, I'd say that you haven't read much about debugging ASP
.NET.

> Ive never had to use trace or debug in an asp.net application. I think if
> you write you code robustly, you can usually do without it.
[quoted text clipped - 18 lines]
>>>
>>> Miguel

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.