Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

about debug and trace

This is a discussion on about debug and trace within the C# forums, part of the Software Development category; A high-performance application requires complex functionality to be executed while debugging the application but not when running the release build, which of the following mechanisms are suitable for the needs ...

Go Back   Geeks Talk > Software Development > C#
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 4 Weeks Ago
Junior Member
 
Join Date: Oct 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
zhimaxixi is on a distinguished road
about debug and trace

A high-performance application requires complex functionality to be executed while debugging the application but not when running the release build, which of the following mechanisms are suitable for the needs of the application?
A. Use pre-processor directives to ensure your classes inherit from the System.Diagnostics.Debug class when building the DEBUG version
B. Implement the complex logic using the Trace class.
C. Define conditional methods using the 'Conditional' attribute when building the DEBUG version.
D. Add extra parameters and conditional logic to the code to ensure the functionality only runs when called with a particular parameter value.
E. Write Visual Studio macros to remove the complex logic from the source code after it has been build
Reply With Quote
Sponsored Links
Reply

  Geeks Talk > Software Development > C#

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Debug in QTP newhere QTP 3 12-17-2007 07:21 AM
qtp debug mode newhere QTP 1 12-06-2007 02:14 AM
Use of Auto trace in Query fred Database General 4 11-19-2007 02:15 AM
SQKNET.ORA trace files Geek_Guest Oracle 1 10-06-2007 07:03 AM
How can I Trace my Internet usage deven.pawar Networking 0 07-19-2007 12:22 AM


All times are GMT -4. The time now is 11:28 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved