|
Home > Archive > BizTalk Server General > January 2005 > Diagnostic.Debug output not seeing in debugviewer
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Diagnostic.Debug output not seeing in debugviewer
|
|
| KalyanT 2005-01-24, 5:50 pm |
| Hi,
Downloaded debugviewer from sysinternals & installed on my windows2003
server. I used the following statement in my expression shape.
System.Diagnostics.Debug.WriteLine("within loop");
I couldn't find this output in my debug viewer. Is there any settings i need
to adjust?
--
Kalyan
| |
| Nabeel Prior 2005-01-24, 5:50 pm |
| Under the "Capture" menu item, make sure you have all teh toggles turned
on - except "Log Boot". See if it logs, and then you can turn off the ones
you are not interested and/or make use of the Filter to set specific text
you are looking for - to aid with this I normally have a variable in my
orchestration that contains the name of the orchestration - this allow me to
set a filter in DebugView to only view messages from that orchestration,
i.e.
System.Diagnostics.Debug.WriteLine(strOrchestration + "winthin loop");
Alternatively, look at this for a more robust anf flexible logging
mechanism:
http://www.traceofthought.net/Perma...a4ff1ba00a.aspx
--
Kind Regards,
Nabeel Prior
Web: http://www.brainjar.co.za
Blog: http://www.brainjar.co.za/blog.aspx
"KalyanT" <KalyanT@discussions.microsoft.com> wrote in message
news:C5F67AC4-E91F-4AA7-B5A2-C8C3489EA47E@microsoft.com...
> Hi,
> Downloaded debugviewer from sysinternals & installed on my windows2003
> server. I used the following statement in my expression shape.
>
> System.Diagnostics.Debug.WriteLine("within loop");
> I couldn't find this output in my debug viewer. Is there any settings i
> need
> to adjust?
> --
> Kalyan
| |
| Hugo Rodger-Brown 2005-01-25, 7:48 am |
| Try using Trace instead of Debug:
System.Diagnostics.Trace.WriteLine("xyz");
"KalyanT" <KalyanT@discussions.microsoft.com> wrote in message
news:C5F67AC4-E91F-4AA7-B5A2-C8C3489EA47E@microsoft.com...
> Hi,
> Downloaded debugviewer from sysinternals & installed on my windows2003
> server. I used the following statement in my expression shape.
>
> System.Diagnostics.Debug.WriteLine("within loop");
> I couldn't find this output in my debug viewer. Is there any settings i
need
> to adjust?
> --
> Kalyan
| |
| Ben Cuttriss 2005-01-27, 8:47 pm |
| Kaylan,
another reason you might not see the debug is if you have installed a
"release" version. Release software will not output the debug statements so
make sure the version you installed is the "debug" or "development" version
of your orchestration.
HTH.
Ben
"KalyanT" wrote:
> Hi,
> Downloaded debugviewer from sysinternals & installed on my windows2003
> server. I used the following statement in my expression shape.
>
> System.Diagnostics.Debug.WriteLine("within loop");
> I couldn't find this output in my debug viewer. Is there any settings i need
> to adjust?
> --
> Kalyan
|
|
|
|
|