リンクを取得
|
トピックを同期
インテル® デバッガー・ユーザー・リファレンス・ガイド
著作権と商標について
インテル® デバッガーについて
関連情報
表記規則
インテル® デバッガー GUI を使用したデバッグ
はじめに
デバッグ環境の準備
デバッガーの設定
初期化ファイルによるデフォルト起動アクションの設定
デバッガーのソースファイルの見つけ方
ソース・ディレクトリーの指定
デバッガーが最前面に表示されないようにする
デバッグ用プログラムの準備
ソースコードの準備
コンパイラーおよびリンカー環境の準備
最適化コードのデバッグ
並列デバッグ用プログラムの準備
インテル(R) デバッガー入門
技術要件
デバッグ用のサンプルコードのビルド
デバッガーの起動
helloworld 実行ファイルを開く
ソースファイルの表示
アプリケーションの実行
ブレークポイントの設定と削除
コマンドラインでのブレークポイントの設定と削除
デバッガーの終了
デバッガーによるアプリケーションの実行
クイック・リファレンス: アプリケーションの実行と停止
デバッガーの制御下でのプログラムの実行
実行ファイルを開く
実行ファイルのアンロード
プロセスへのアタッチ
予測可能な場所にあるプロセスへのアタッチ
プロセスからのデタッチ
プロセス環境の管理
複数プロセスのデバッグ
アプリケーションの実行
C++ ソースコード行の実行
呼び出し関数までアプリケーションを実行する
式または行番号までアプリケーションを実行する
アセンブラー命令の実行
プログラムカウンターを特定の行に設定する
入出力の記録
問題箇所の特定
アプリケーションの停止
事前定義した場所でアプリケーションを停止する
ブレークポイントの概要
単純なブレークポイントの設定と削除
複雑なブレークポイントの設定
複雑なデータ・ブレークポイントの設定
スレッドセットの同期
ブレークポイントの表示
ブレークポイントを有効または無効にする
ブレークポイントの変更
アプリケーションの実行
ポインターの境界違反の検出
セッション処理
セッション処理について
前回のセッション設定を使用せずにデバッグ対象をリロードする
セッションの保存
セッションの復元
コマンドライン・モードでのセッション処理について
コード、データ、およびその他のプロセス情報の検証
ソースファイルの検証
ソースファイルの表示
文字列の検索
ブックマークの使用
コールスタックの検証
コールスタックについて
デバッガーのコールスタック
コールスタックにない関数
コールスタックの破壊
複数のスレッドのコールスタックの表示
現在のコールスタックの表示と操作
コールフレームと最適化コード
コールフレームとマシンコードの関係付け
C++ 固有の問題
データの検証
式の評価
ポインターから評価
アドレスの評価
[Evaluations (評価)] ウィンドウへの式の追加
変数の評価
インテル® ストリーミング SIMD 拡張命令 (インテル® SSE) 変数の評価
ローカル変数の表示
値の変更
式と式の値の編集
標準テンプレート・ライブラリー・クラスのプリティープリント
アセンブリー・コードの検証
アセンブラー・コードの表示
[Assembler (アセンブラー)] ウィンドウからソースコードへの移動
[Assembler (アセンブラー)] ウィンドウでの開始アドレスの変更
[Assembler (アセンブラー)] ウィンドウへのメモリーのリロード
[Assembler (アセンブラー)] ウィンドウでのソース・アノテーションの表示
アセンブラー・コードの編集
アセンブラー・コードへの移動
[Assembler (アセンブラー)] ウィンドウのフォーカスをプログラムカウンターに設定
[Assembler (アセンブラー)] ウィンドウへのメモリー参照の内容の表示
CPU の検証
[Registers (レジスター)] ウィンドウまたは [SSE Registers (SSE レジスター)] ウィンドウの更新
レジスターが参照するメモリーアドレスの表示
メモリーの検証
メモリーの内容の表示
メモリーアドレスの編集
メモリーの変更
[Memory (メモリー)] ウィンドウの開始アドレスの変更
メモリーのリロード
開始アドレスに戻る
ポインターの追跡
開始アドレスのリセット
コアファイルのデバッグ
並列アプリケーションのデバッグ
スレッドとプロセスセットの操作
スレッドとプロセスセットの操作: 概要
プロセスとスレッドセットの表記
プロセスとスレッドセットの指定
プロセスとスレッドの範囲の指定
デバッガー変数のプロセスとスレッドセットの格納
プロセスとスレッドセットの演算子
事前定義済みスレッドセット
スレッドとスレッドセットの表示
スレッドセットの同期
現在のプロセスセットの変更
マルチスレッド・アプリケーションのデバッグ
インテル® Cilk™ Plus コードのアルゴリズムの不具合の特定
OpenMP* およびシリアルコードの不具合の特定
OpenMP* 情報の表示
スレッドデータ共有検出
スレッドデータ共有検出について
スレッドデータ共有イベントの検出
スレッドデータ共有イベントの検出からの除外
スレッドデータ共有イベント履歴のエクスポート
再入可能呼び出しで停止
大規模な並列アプリケーションのデバッグ
大規模な並列アプリケーションのデバッグ: 概要
MPI アプリケーションのデバッグを開始する前に
MPI デバッグセッションの開始
既存の MPI ジョブへのアタッチ
並列デバッグセッションでのコマンドの使用
集約メッセージの操作
並列デバッグのヒント
並列デバッグのヒント 1: 集約出力の取得
並列デバッグのヒント 2: プロセスの同期
並列デバッグのヒント 3: 並列デバッグセッションにおけるソースファイルの検索
並列デバッグの例
mpirun_dbg.idb スタートアップ・ファイルの使用
Eclipse* 上でのインテル® デバッガーを使用したデバッグ
Eclipse* へのインテル® デバッガーの統合
Eclipse* 上でのインテル® MIC アーキテクチャー向けアプリケーションのビルド
ヘテロジニアス・アプリケーションのデバッグ
コプロセッサー上でのみデバッグ
コマンドラインでのデバッグ
デバッガーをコマンドライン・モードで起動する
コマンドラインでのブレークポイントの設定と削除
デバッガーコマンドの使用
複数プロセスのサポート
複数プロセスのデバッグ
複数のコールフレーム、スレッド、およびソースのサポート
コマンド、ファイル名、および変数のコンプリート機能
ユーザー定義コマンド
デバッガープロンプトの変更
デバッガーコマンドの処理
デバッガーコマンドの処理: 概要
コマンドラインの入力と編集
行の履歴の置換 (IDB モードのみ)
環境変数の展開
コマンドの構文
コマンドの構文: 概要
字句解析
コマンドの文法
コマンド内のキーワード
波括弧で囲まれた複合コマンドの使用
コマンド実行の条件付け
デバッガー変数について
コマンドの記述と前のコマンドの繰り返し
前のコマンドの繰り返し
コマンドの記述
コマンド履歴の表示
シェルまたはコマンドプロンプトのコマンドの実行
コマンドラインでのインテル® MIC アーキテクチャー向けアプリケーションのデバッグ
ヘテロジニアス・アプリケーションのコプロセッサー上でのみのデバッグ
ネイティブ・アプリケーションのコプロセッサー上でのみのデバッグ
デバッガー・コマンド・リファレンス (GDB モード)
!
^
#
advance
attach
awatch
backtrace
break
call
clear
commands
complete
condition
continue
core-file
define
delete breakpoints
detach
directory
disable
disassemble
disconnect
down
down-silently
echo
enable
file
finish
forward-search
frame
handle (gdb モードのみ)
help
idb directory (gdb モードのみ)
idb freeze (gdb モードのみ)
idb info barrier (gdb モードのみ)
idb info lock (gdb モードのみ)
idb info openmp thread tree (gdb モードのみ)
idb info task (gdb モードのみ)
idb info taskwait (gdb モードのみ)
idb info team (gdb モードのみ)
idb info thread (gdb モードのみ)
idb process (gdb モードのみ)
idb reentrancy (gdb モードのみ)
idb session restore (gdb モードのみ)
idb session save (gdb モードのみ)
idb set cilk-serialization (gdb モードのみ)
idb set openmp-serialization (gdb モードのみ)
idb sharing (gdb モードのみ)
idb sharing event expand (gdb モードのみ)
idb sharing event list (gdb モードのみ)
idb sharing filter add file (gdb モードのみ)
idb sharing filter add function (gdb モードのみ)
idb sharing filter add range (gdb モードのみ)
idb sharing filter add variable (gdb モードのみ)
idb sharing filter delete (gdb モードのみ)
idb sharing filter disable (gdb モードのみ)
idb sharing filter enable (gdb モードのみ)
idb sharing filter list (gdb モードのみ)
idb sharing filter toggle (gdb モードのみ)
idb sharing reset (gdb モードのみ)
idb sharing status (gdb モードのみ)
idb sharing stop (gdb モードのみ)
idb show bounds
idb show cilk-serialization (gdb モードのみ)
idb show openmp-serialization (gdb モードのみ)
idb show process-list
idb stopping threads (gdb モードのみ)
idb synchronize (gdb モードのみ)
idb target threads (gdb モードのみ)
idb thaw (gdb モードのみ)
idb uninterrupt (gdb モードのみ)
if
ignore (gdb モードのみ)
info args (gdb モードのみ)
info breakpoints (gdb モードのみ)
info files (gdb モードのみ)
info functions (gdb モードのみ)
info handle (gdb モードのみ)
info line (gdb モードのみ)
info locals (gdb モードのみ)
info program (gdb モードのみ)
info registers (gdb モードのみ)
info share (gdb モードのみ)
info sharedlibrary (gdb モードのみ)
info signals (gdb モードのみ)
info source (gdb モードのみ)
info sources (gdb モードのみ)
info stack (gdb モードのみ)
info target (gdb モードのみ)
info threads (gdb モードのみ)
info types (gdb モードのみ)
info variables (gdb モードのみ)
info watchpoints (gdb モードのみ)
jump (gdb モードのみ)
kill
list
monitor (gdb モードのみ)
next
nexti
output (gdb モードのみ)
path (gdb モードのみ)
print
printf
ptype (gdb モードのみ)
pwd (gdb モードのみ)
quit
return (gdb モードのみ)
reverse-search (gdb モードのみ)
run
rwatch (gdb モードのみ)
search (gdb モードのみ)
set args (gdb モードのみ)
set confirm (gdb モードのみ)
set disassembly-flavor (gdb モードのみ)
set editing (gdb モードのみ)
set environment (gdb モードのみ)
set height (gdb モードのみ)
set history save
set history size
set language (gdb モードのみ)
set listsize (gdb モードのみ)
set max-user-call-depth (gdb モードのみ)
set output-radix (gdb モードのみ)
set print address (gdb モードのみ)
set print elements (gdb モードのみ)
set print repeats (gdb モードのみ)
set print static-members (gdb モードのみ)
set prompt (gdb モードのみ)
set solib-search-path
set substitute-path (gdb モードのみ)
set variable (gdb モードのみ)
set width (gdb モードのみ)
shell (gdb モードのみ)
show aggregated message
show architecture (gdb モードのみ)
show args (gdb モードのみ)
show commands (gdb モードのみ)
show convenience (gdb モードのみ)
show directories (gdb モードのみ)
show disassembly-flavor (gdb モードのみ)
show editing (gdb モードのみ)
show environment (gdb モードのみ)
show height (gdb モードのみ)
show language (gdb モードのみ)
show listsize (gdb モードのみ)
show max-user-call-depth (gdb モードのみ)
show output-radix (gdb モードのみ)
show print address (gdb モードのみ)
show print elements (gdb モードのみ)
show print repeats (gdb モードのみ)
show print static-members (gdb モードのみ)
show process set
show prompt (gdb モードのみ)
show user (gdb モードのみ)
show values (gdb モードのみ)
show width (gdb モードのみ)
source
step
stepi
target core (gdb モードのみ)
tbreak (gdb モードのみ)
thread
unset environment (gdb モードのみ)
unset substitute-path (gdb モードのみ)
until (gdb モードのみ)
up
up-silently (gdb モードのみ)
watch (gdb モードのみ)
whatis
while
x (gdb モードのみ)
デバッガー・コマンド・リファレンス (IDB モード)
address / size format
/ | ?[string] (idb モードのみ)
!
^
#
alias
assign
attach
call
catch
catch unaligned
class
cont
delete
delete breakpoints
delsharedobj
detach
disable
down
dump
edit
enable
exit
expand aggregated message
export
file
fileexpr
focus
func
goto
help
history (idb モードのみ)
if
ignore (idb モードのみ)
kill
list
listobj (idb モードのみ)
load (idb モードのみ)
map source directory (idb モードのみ)
next
nexti
patch (idb モードのみ)
playback input (idb モードのみ)
pop (idb モードのみ)
print
printenv (idb モードのみ)
printf
printi
printregs (idb モードのみ)
printt (idb モードのみ)
process (idb モードのみ)
quit
readsharedobj (idb モードのみ)
record (idb モードのみ)
rerun (idb モードのみ)
return (idb モードのみ)
run
set (idb モードのみ)
set history save
set history size
setenv (idb モードのみ)
sh (idb モードのみ)
show aggregated message
show condition (idb モードのみ)
show lock (idb モードのみ)
show mutex (idb モードのみ)
show openmp thread tree (idb モードのみ)
show process (idb モードのみ)
show process set
show source directory (idb モードのみ)
show team (idb モードのみ)
show thread (idb モードのみ)
source
status (idb モードのみ)
step
stepi
stop at (idb モードのみ)
stop every (idb モードのみ)
stop in (idb モードのみ)
stop memory (idb モードのみ)
stop pc (idb モードのみ)
stop signal (idb モードのみ)
stop unaligned (idb モードのみ)
stop variable (idb モードのみ)
stopi (idb モードのみ)
thread
unalias (idb モードのみ)
unload (idb モードのみ)
unmap source directory (idb モードのみ)
unrecord (idb モードのみ)
unset (idb モードのみ)
unsetenv (idb モードのみ)
unuse (idb モードのみ)
up
use (idb モードのみ)
watch (idb モードのみ)
whatis
when (idb モードのみ)
wheni (idb モードのみ)
where (idb モードのみ)
whereis (idb モードのみ)
which (idb モードのみ)
while
事前定義済みデバッガー変数のリスト
ユーザー・インターフェイス・リファレンス
ドラッグアンドドロップ
ウィンドウの列の表示のカスタマイズ
ダイアログボックス
[Memory (メモリー)] ダイアログボックス
[Evaluate (評価)] ダイアログボックス
[Create Breakpoint (ブレークポイントの作成)] ダイアログボックス: [Code (コード)] タブ
[Create Breakpoint (ブレークポイントの作成)] ダイアログボックス: [Data (データ)] タブ
[Modify Breakpoint (ブレークポイントの変更)] ダイアログボックス
[Symbol Selector (シンボルセレクター)] ダイアログボックス: [Simple Search (標準検索)] タブ
[Symbol Selector (シンボルセレクター)] ダイアログボックス: [Advanced Search (詳細検索)] タブ
[Open Source File (ソースファイルを開く)] ダイアログボックス
[Start Command Recording (コマンド記録の開始)] ダイアログボックス
[Start IO Recording (IO 記録の開始)] ダイアログボックス
[GUI Preferences (GUI 設定)] ダイアログボックス
[Run Until... (指定先まで実行...)] ダイアログボックス
[Open Executable (実行ファイルを開く)] ダイアログボックス: [Arguments (引数)] タブ
[Open Executable (実行ファイルを開く)] ダイアログボックス: [Environment (環境変数)] タブ
[Open Executable (実行ファイルを開く)] ダイアログボックス: [Source Directories (ソース・ディレクトリー)] タブ
[Attach to Process (プロセスにアタッチ)] ダイアログボックス
[Open Core Dump (コアダンプを開く)] ダイアログボックス
[Run or Rerun With Arguments (引数を使用して実行/再実行)] ダイアログボックス: [Arguments (引数)] タブ
[Run or Rerun With Arguments (引数を使用して実行/再実行)] ダイアログボックス: [Environment (環境変数)] タブ
[Run or Rerun With Arguments (引数を使用して実行/再実行)] ダイアログボックス: [Source Directories (ソース・ディレクトリー)] タブ
[Signal Handling (シグナル処理)] ダイアログボックス
[Modify (変更)] ダイアログボックス
[New Data Range Filter (新しいデータ範囲フィルター)] ダイアログボックス
[New Code Range Filter (新しいコード範囲フィルター)] ダイアログボックス
[Re-entrant Call Detection (再入可能呼び出しの検出)] ダイアログボックス
ウィンドウ
[Memory (メモリー)] ウィンドウ
[Evaluations (評価)] ウィンドウ
[Console (コンソール)] ウィンドウ
[Source (ソース)] ウィンドウ
[Locals (ローカル)] ウィンドウ
[Breakpoints (ブレークポイント)] ウィンドウ
[Callstack (コールスタック)] ウィンドウ
[Source Files (ソースファイル)] ウィンドウ
[Assembler (アセンブラー)] ウィンドウ
[Registers (レジスター)] ウィンドウ
[Threads (スレッド)] ウィンドウ
[Tasks (タスク)] ウィンドウ
[Barriers (バリアー)] ウィンドウ
[Taskwaits (タスクウェイト)] ウィンドウ
[Locks (ロック)] ウィンドウ
[Teams (チーム)] ウィンドウ
[Spawn Tree (スポーンツリー)] ウィンドウ
[Vector Evaluations (ベクトル評価)] ウィンドウ
[Vector Registers (ベクトルレジスター)] ウィンドウ
[Thread Data Sharing Filters (スレッドデータ共有フィルター)] ウィンドウ
[Thread Data Sharing Events (スレッドデータ共有イベント)] ウィンドウ
トラブルシューティング