IT戦記

プログラミング、起業などについて書いているプログラマーのブログです😚

2008-09-30から1日間の記事一覧

gdb で operator<< にブレイクポイントを設定する

C++

break コマンドだと malformed template だと怒られる $ gdb ./a.out (gdb) b std::operator<< malformed template specification in command rbreak で出来た 正規表現で関数名を指定出来るらしい。 $ gdb ./a.out (gdb) rb std::operator<< Breakpoint 1 a…