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. |
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 ...
|
|||||||
|
|||
|
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 |
| Sponsored Links |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
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 |