Re: Debug.Print



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

.



Relevant Pages

  • RE: Output Window
    ... "Greg" wrote: ... to create a console applicaiton for each Exercise, ... I'd like to clear the Output window of any previous output. ... Is there a way to clear previous output text in the Output Window? ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Just little questions about Irix64 6.5.x on Indigo2 and Octane :)
    ... setup on the Octane and directing the display of applications on the ... If you want the console, ... window that has all logical properties of a console login (system ...
    (comp.sys.sgi.admin)
  • Re: Console.Clear()
    ... Not to be a prick but here are some of your quotes in which you refer ... to the Console window and not the Output window: ... "I am writing console.writeline data to the console window." ...
    (microsoft.public.dotnet.languages.vb)
  • Win32::Console with perl2exe -gui
    ... single distribution file) without the DOS window. ... I tried to use Win32::Console to open a new console to display the ... a console window opens, ...
    (comp.lang.perl.misc)
  • Re: Pop-up window in daemon
    ... >I've written a daemon in C and I'd like that daemon to create a ... >pop-up window on a certain condition in the console using a windowing ... it is detached from the console. ... you code your application to open it's window on the display device. ...
    (comp.unix.programmer)

Loading