Best Practices for Debugging Embedded Software

Published: 27 June 2013
on channel: Siemens Embedded
12,218
97

Best Practices for Debugging Embedded Software
Presented by Stan Shebs, Manager, Debug Team, Mentor Graphics Embedded Software

Debugging an embedded program is both like and unlike debugging other kinds of software. Although the same tools are usually available, embedded debugging is less forgiving - a bad pointer dereference can crash the whole machine - and sometimes mystifying - for instance, if your target's "I/O subsystem" is a single LED. In this presentation we will review standard debugging techniques and how they work for embedded debugging particularly, then move on to some more advanced gadgets in the toolbox, and wrap up by exposing some of the tricks that your embedded system will try to play on you.

What You Will Learn:

The "eternal truths" of debugging
How programming is like forensic science
When to use the host instead of the target
When to use printf
The proper use of breakpoints and single-stepping
The value of display options
How programs violate abstraction layers
How software systems do sleight of hand

Who Should View

Working developers who have their programs mostly running,
and who want to step up their proficiency at finishing the job

About the Presenter

Stan Shebs manages the debugger team in Mentor Graphic's Embedded Software Division. He has been a maintainer of the GNU Debugger GDB since 1994, first at Cygnus Solutions, then at Apple and CodeSourcery. In all of these positions, support has been an essential part of the job, and he has worked with hundreds of embedded developers, at every phase of the development process, from architecture simulator and bringup of first silicon, to squeezing out the maximum performance from a mature system. He continues to be fascinated by how bits of program code can result in real-world actions.


On this page of the site you can watch the video online Best Practices for Debugging Embedded Software with a duration of hours minute second in good quality, which was uploaded by the user Siemens Embedded 27 June 2013, share the link with friends and acquaintances, this video has already been watched 12,218 times on youtube and it was liked by 97 viewers. Enjoy your viewing!