Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Pascal/HP-UX Release Notes: HP 9000 Series Systems > Chapter 1 New and Changed Features

Debugging Optimized Code (DOC)

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

In conjunction with the HP Distributed Debugging Environment (DDE), the HP Pascal/HP-UX compiler now provides support for debugging optimized code. This support includes:

  • Tracebacks with line-number annotation.

  • Setting breakpoints and single-stepping at the source statement level.

  • Mapping between source statements and machine instructions.

  • Viewing and modifying global variables at procedure call boundaries.

  • Viewing and modifying parameters on procedure entry.

To enable debugging of optimized code, specify the -g command-line option together with the -O, +O1, or +O2 option. Currently, debugging is supported at optimization levels 2 and below. If you use -g with the +O3 or +O4 option, the compiler issues a warning stating that the options are incompatible, and ignores the -g option.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1994 Hewlett-Packard Development Company, L.P.