Re: Debug.Print
- From: "Bryan Phillips" <bphillips@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 20 May 2007 01:52:18 +0000
If you have a debugger attached (windbg or Visual Studio), it goes to the debugger's output window. If you can't see output window in the IDE, you will need to make the window visible.
Use Debug->Windows and View menus to show windows that are not currently displayed.
If your DLL will be running in a Win Forms application, you may want to switch to use Trace.WriteLine instead. Trace.WriteLine will write to the output window too, and you can either add a listener to redirect the output.
I like using the "Debug View" utility from www.sysinternals.com since it can listen to the Trace and Debug writes for all or select processes on a box and display them in a single window. It works great for multi-tiered apps.
--
Bryan Phillips
MCT, MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com
Web Site: http://www.composablesystems.net
"SalamElias" <eliassal@xxxxxxxxxxxxx> wrote in message news:B421A14C-9F6D-4676-9E71-23328768E39D@xxxxxxxxxxxxx:
Hi, when I put inside my code "Debug.Print(something)", where the outcome
should go?
Do I need explicitly tosetup a listner or it can be forwarded to built in
window in VSIDE?
2nd, I have a dll in which I have something like that
Console.writeline("something") inside one of the methods, when I run the
appli (windows form), itdoesnt error but no console is dispalyed. So
thequestion, can I display the console like this?
Thanks in advance
.
- Follow-Ups:
- Re: Debug.Print
- From: SalamElias
- Re: Debug.Print
- Prev by Date: Re: VC++ DLL UPGRADE
- Next by Date: Re: Debug.Print
- Previous by thread: RE: application failed to initialize - Visual Studio 2005 with or with
- Next by thread: Re: Debug.Print
- Index(es):
Relevant Pages
|
Loading