Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
マルチスレッドコードをデバッグしていて、停止せずに行に到達したかどうかを知りたいのですが、どこにでもprintステートメントを追加し始めたくありません。
これは可能ですか?ありがとう!
'commands'コマンドを使用して、コマンドをgdbのブレークポイントにアタッチできます。それらのコマンドの1つは「続行」にすることができます。
トレースポイントを探している可能性があります。これらは、実行を停止せずに変数値をキャプチャします。