HOME  |  NEWS  |  BLOGS  |  MESSAGES  |  FEATURES  |  VIDEOS  |  WEBINARS  |  INDUSTRIES  |  FOCUS ON FUNDAMENTALS
  |  REGISTER  |  LOGIN  |  HELP
Comment
GStringham
User Rank
Iron
Re: Part II:  Putting Together & Executing a Test Plan
GStringham   3/20/2012 3:06:15 PM
NO RATINGS
Good points on using #define DEBUG <level> to control how much debug code is in there. I also used a global variable that was accessible from the debugger to control the level. By default, it would be low debug output. But if I wanted to, I could break into the debugger, change that global variable, then have more verbose debug output when running a test. A global variable also allowed hackware to temporarily turn on a higher verbose level when desired.



Partner Zone
Latest Analysis
A Finland-based company has introduced what it claims is the first smart door lock that can be powered from energy harvested from a mobile device.
This charts show the pros and cons of five drive-train technologies.
A UK-based consortium comprised of the Centre for Process Innovation, Merck, and Polysolar are working on a design for integrated photovoltaic windows.
A new development kit expedites proof-of-concept for applications requiring an ultra-thin force or pressure sensor.
A researcher from The Ohio State University has designed objects that harness vibrations from the movement of swaying buildings or bridges to provide alternative energy.
More:Blogs|News
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Jan 11 - 15, Designing ARM Devices Using Segger Tools
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6 |  7 | 8 | 9


Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Technology Marketplace

Copyright © 2016 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service