System.Diagnostics.Debug.WriteLine(iResult);
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > System.Diagnostics.Debug.WriteLine(iResult);




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    System.Diagnostics.Debug.WriteLine(iResult);  
Neal Walters


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-21-04 04:09 AM

In the SDK\Orchestrations\MethodCall we find an expression shape that contai
ns the following statement:

System.Diagnostics.Debug.WriteLine(iResult);

My question is where does the debug go?  How do I find and read what got wri
tten.

Thanks,
Neal Walters
http://Biztalk-Training.com






[ Post a follow-up to this message ]



    RE: System.Diagnostics.Debug.WriteLine(iResult);  
Gilles [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-21-04 04:09 AM

Hello Neal,
[vbcol=seagreen]
>In the SDK\Orchestrations\MethodCall we find an expression shape that conta
ins the following statement:
>
>System.Diagnostics.Debug.WriteLine(iResult);
>
>My question is where does the debug go?  How do I find and read what got written.[/
vbcol]

This statement writes a debug output to the "output" window of a debugger, i
f available.
If no debugger is avaialble at the time the statement is executed, the strin
g is simply ignored.

To see those strings, attach VS.NET 2003 to BTSNTSVC.EXE and choose ".NET".
Do something that triggers the execution of the statement above (perhaps sen
ding a message)
and in Visual Studio, switch to the output debug window. You will see the st
rings.

Note that this is not specific to an orchestration. If you write a simple "H
ello World" .NET
application with this statement, you will see the asme behavior.

Thanks.
-Gilles.






[ Post a follow-up to this message ]



    Re: System.Diagnostics.Debug.WriteLine(iResult);  
Scott Colestock


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-21-04 04:09 AM

You might want to also just use dbgview.exe - see
http://www.sysinternals.com/ntw2k/f...debugview.shtml
This works great with to see this kind of output.

- Scott Colestock


"Gilles [MSFT]" <Gilles@online.microsoft.com> wrote in message
news:ai9c6tvUEHA.2300@cpmsftngxa10.phx.gbl...
> Hello Neal,
> 
contains the following statement:[vbcol=seagreen] 
written.[vbcol=seagreen]
>
> This statement writes a debug output to the "output" window of a debugger,
if available.
> If no debugger is avaialble at the time the statement is executed, the
string is simply ignored.
>
> To see those strings, attach VS.NET 2003 to BTSNTSVC.EXE and choose
".NET".
> Do something that triggers the execution of the statement above (perhaps
sending a message)
> and in Visual Studio, switch to the output debug window. You will see the
strings.
>
> Note that this is not specific to an orchestration. If you write a simple
"Hello World" .NET
> application with this statement, you will see the asme behavior.
>
> Thanks.
> -Gilles.
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:19 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register