ARM Technical Support Knowledge Articles

PROGRAM FAILS AFTER ADDING CODE

Applies to: General Topics

Answer


Information in this article applies to:


QUESTION

I have written a program that seems to work just fine. Now, I've added a few new features to my program and it no longer works. What suggestions do you have?

ANSWER

There are any number of reasons why a program stops working when you add new code:

The following suggestions may help:

  1. Go back to the version of the software that worked.
  2. Generate a MAP file from the linker and save it or print it out.
  3. Start adding modules one-by-one until the program fails.
  4. Print out the MAP file for this version and compare it to the first.

Here are a few things to look for:

Article last edited on: 2005-07-09 11:00:56

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential