What's the role of source-level debugging in porting applications?

What's the role of source-level debugging in porting applications?

What's the role of source-level debugging in porting applications?

    Requires Free Membership to View

    When you register, my team of editors will also send you resources covering Linux administration and management; integration and interoperability between Linux, Windows and Unix; securing Linux and mixed-platform environments; and migrating to Linux.

    Margie Semilof, Editorial Director

    By submitting your registration information to SearchEnterpriseLinux.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchEnterpriseLinux.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

Every application is designed to produce a particular, correct behavior including specified output, when executed with a particular set of inputs. When an application being ported does not conform to such expected behavior, additional analysis is normally required to understand the cause of such incorrect behavior. Source-level debugging is a valuable tool for identifying and resolving defects discovered or introduced during the porting process.

Source-level analysis using a debugger on the existing platform also helps a programmer understand how a particular function is used, the actual arguments passed to a function and values returned from a function. Such analysis can be used to improve comments embedded in the code or implementation notes, which results in making the most optimal porting changes.

This was first published in January 2005