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
In the wake of a fatal accident involving a Tesla Model S in autopilot mode, the auto industry may need to rethink the future of autonomous driving.
Pico Interactive is developing a stand-alone system, the Pico Neo, that it hopes will transform virtual reality into a more mobile and accessible experience.
A survey by Arena Solutions finds that half of all product companies do not use PLM. They manage their parts using Excel or nothing.
Modular approach simplifies assembly of demand-based, custom-configurable valve systems.
Wearable electronics may soon have another alternative to cumbersome batteries for power with the development of a new ultra-thin solar cell flexible enough to wrap around a pencil.
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.
Jul 11 - 15, Embedded System Design Techniques™ - Debugging Real-time Embedded Software – Hands on
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6 |  7 | 8 | 9 | 10


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