Re: 70-316 unsure of the question
From: Relaxin (me_at_yourhouse.com)
Date: 01/28/05
- Next message: JoanW: "Assessment Training Material - The best 5.00 bucks I ever spent."
- Previous message: SSD: "Preparing for MCAD.NET exams!!!"
- In reply to: Marcin Grabowski: "70-316 unsure of the question"
- Next in thread: FrisbeeŽ: "Re: 70-316 unsure of the question"
- Reply: FrisbeeŽ: "Re: 70-316 unsure of the question"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 27 Jan 2005 22:25:34 -0800
Tracing is enabled by default for both Debug and Release builds.
>From the MSDN documentation:
"In Visual Studio .NET projects, Trace is enabled by default. Therefore,
code is generated for all Trace methods in both release and debug builds.
This allows an end user to turn on tracing to help identify the problem
without the program having to be recompiled. By contrast, Debug is disabled
in release builds by default, so no executable code is generated for Debug
methods. To disable Trace, see the Visual Studio .NET documentation."
I hope this helps some.
"Marcin Grabowski" <jabs@tlen.pl> wrote in message
news:O29RUlKBFHA.3664@TK2MSFTNGP14.phx.gbl...
> Hi,
>
> I have been digging thru the braindumps and I got a bit confused with the
> following question. I enclosed my answer - can anybody correct me if I am
> wrong... Thanks
>
> Sorry if this is a wrong place to voice this kind of doubts.
>
> Marcin
>
> ------------------------------------------------------------------------
> You create an application that involved customer information retrieval.
> You include tracing in the various functions to provide easy debugging as
> and when needed. You change the build configuration to RELEASE, optamize
> the application and deploy you application on a shared folder in your
> client's network path. Multiple users access this application.
>
> After a few days you recieve notice that one user encouters an error while
> executing a particullar operation. You want to dubug the application for
> that one user.You want to include verbose information for the error's. How
> can you do this while not disturbing the optamizations and execution of
> the applications for other users. Chose all that apply
>
> A. Change the build configuration to DEBUG and compile the project. Copy
> the application from the debug folder to the user's local machine and
> create a shortcut to the application on the user's desktop.
> B. Copy the application from the shared network folder and deploy the
> application to the user's local machine. Create a shortcut to the
> application on the user's desktop.
> C. Change the .config file in the local machine and add an entry for the
> trace switch and set the value to 4
> D.Change the .config file in the shared network path and add an entry for
> the trace switch and set the value to 4
> E. Complie the project using /debug TRACE
> F. Complie the project using /TRACE mySwitch 4
>
> Most people chose B & C. But don't you have to compile application in the
> DEBUG mode to be able to use trace switches at all - I would go for A &C.
> ------------------------------------------------------------------------
>
>
>
- Next message: JoanW: "Assessment Training Material - The best 5.00 bucks I ever spent."
- Previous message: SSD: "Preparing for MCAD.NET exams!!!"
- In reply to: Marcin Grabowski: "70-316 unsure of the question"
- Next in thread: FrisbeeŽ: "Re: 70-316 unsure of the question"
- Reply: FrisbeeŽ: "Re: 70-316 unsure of the question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|