newbie question about web.config, tracing

J

Jiho Han

I have a solution built with conditional #if(DEBUG) ... #endif, so that
statements like Context.Trace.Write("this is a trace statement."); are only
compiled into a debug build and not into a release one. So that works like
a charm. I built a debug and a release solution. In my dev environment,
things behave the way I want them to, debug build writes out to the trace so
I can view them via Trace.axd and the release doesn't.

The issue arises when I deploy the debug build to the testing environment.
The debug build no longer writes output to the trace. Tracing itself is
working because I see other Context.Trace.Write statements that are not
enclosed by #if(DEBUG)... #endif.
The ones that were enclosed, ones I'm interested in are not. I figure there
must be some kind of setting in web.config or machine.config somewhere, but
I can't seem to find it.

Can someone help?
Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,807
Latest member
ryef

Latest Threads

Top