Apple Developer Connection
Advanced Search
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page >

デバッグ

XcodeではGDBを使用してデバッグを行うので、『Xcode 2.2 User Guide』の「Debugging」を参照してください。Xcodeは、GDBへの強力なユーザインターフェイスを提供します。これを利用してコードのステップごとの実行、ブレークポイントの設定、変数、スタックフレームおよびスレッドの表示ができます。

Debugging with GDBは、GDBの使用方法を説明するオープンソースのドキュメントで、参照すると同じように役に立つ資料です。このドキュメントには、デバッグのブレークポイントを取得する方法を含め、さまざまな有用な情報が記載されています。

GCC 4.0へコードを移行している場合、『GCC Porting Guide』を参照すれば、リンクに関する問題とコンパイルの警告をほとんど解決できます。『GNU C/C++/Objective-C 4.0.1 Compiler User Guide』のセクション3.8では、警告を要求したり抑制したりするためのGCCオプションに関する詳細な情報を参照できます。



< Previous PageNext Page >


Last updated: 2006-03-08




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice