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.
特定の変数が特定の値に設定されているときに gdb を一時停止させる方法はありますか? たとえば、特定のスコープに変数 x があり、プログラムの実行のある時点で変数 x が 4 に設定されているとします。x が 4 に設定されている場合、gdb にその実行を一時停止するように指示するにはどうすればよいですか?