[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


macsbug

Description:

Control the generation of debugger data for MacsBug.

Compatibility:

This pragma is compatible with the following platform targets:

68K

PowerPC
NEC V800
Intel x86
MIPS

Embedded 68K

Prototype:
  #pragma macsbug on | off | reset
  #pragma oldstyle_symbols on | off | reset Remarks:

This pragma applies to Mac OS on 68K programming only.

These pragmas let you choose how the compiler generates Macsbug symbols. Many debuggers, including Metrowerks debugger, use Macsbug symbols to display the names of functions and variables. The pragma macsbug lets you turn on and off Macsbug generation. The pragma oldstyle_symbols lets you choose which type of symbols to generate. The table below shows how these pragmas work:

To do this
Use these pragmas
Do not generate Macsbug symbols  
#pragma macsbug on  
Generate old style Macsbug symbols  
#pragma macsbug on
#pragma oldstyle_symbols on  
Generate new style Macsbug symbols  
#pragma macsbug on
#pragma oldstyle_symbols off  

These pragmas corresponds to MacsBug Symbols option in the 68K Linker settings panel. To check whether the macsbug pragma option is on, use __option (macsbug), described in "Checking Options." To check whether the old style pragma is on, use __option (oldstyle_symbols) described in "Checking Options."


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 17, 2000