2
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【Xcode】ブレイクポイントで止めずに音を鳴らす

2
Posted at

はじめに

ブレイクポイントを使って開発をしている際に、いちいち止まると面倒な場面ってありますよね。
だけども、ブレイクポイントを通ったことは知りたい。

そんな時は、ブレイクポイントで止めずに音を鳴らしましょう。

やりかた

行番号をタップしてブレイクポイントを設置します。
スクリーンショット 2024-02-21 21.32.06.png

ブレイクポイントを右クリックして「Edit Breakpoint...」を選択します。
スクリーンショット 2024-02-21 21.34.28.png

「Add Action」を押します。
スクリーンショット 2024-02-21 21.35.29.png

サウンドが設定できました。
スクリーンショット 2024-02-21 21.36.36.png

今のままではブレイクポイントで止まってしまうので、止まらないように設定します。

「Automatically continue after evaluating actions」にチェックを入れます。
スクリーンショット 2024-02-21 21.37.36.png

おわり

これで、ブレイクポイントで止めずに音を鳴らすことができました。

2
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?