@kasumiiです。こんにちは。 SafariのWebインスペクタは、iPhoneで表示しているページをMacから確認できる便利な方法です。 iOS 6の頃からできるっぽいので今さら感ありますが、忘れないようにメモメモ。
はじめに iPhoneアプリを開発するにはメモリ管理は本当に重要です。メモリリークが起きると、アプリケーションたちまちクラッシュを起こしてしまいます。 それで前々からメモリリークを調べる方法を調べていたのですが、Clang Static Analyzerが出てきました。 でもこれ、ターミナルどうのこうので初心者の僕にはなんだか難しそうで、、、諦めていたんですが、XCodeにClang Staticエンジンが搭載されたらしいので、設定方法を紹介します。 設定方法 ①プロジェクトからプロジェクト設定編集をクリック ②ビルトタブを選んで静的アナライザに✔を入れます。 ③Buil and Analyze で解析します! たったこれだけで、メモリリークを調べる事ができます。 初めて当ブログに訪れた方や何度か当ブログにお越し頂いている皆様。もしブログの内容が気に入って頂けましたらRSSリ
ここは管理人pigeon6と同じようなコンピュータとプログラムとアレゲが好きなおさるさんのためのサイトです。たぶん。 Xcode環境でデバッグを行う際に役に立ちそうな情報をまとめました。 Xcodeはgdbのフロントエンドとして動作するビジュアルデバッガを提供していますが、VisualStudioなどを使い慣れていると、ぱっと見足りない機能があるように見えるというか、「あれ、コレってどうやるの?」みたいな事が、いくつかあります。 このページでは、そんな経験を何度かした私が関連ドキュメントの一部を調べて、これはと思った機能を紹介します。そんなわけで、Xcodeのデバッガの使い方がそもそも分からないというような初心者には適さない内容ではありますが、何となく使っているだけでは分からない、あるいは見落としやすい内容をメインに書いています。 なお、Guard Malloc(libgmalloc)につ
vim-ruby-debugger http://github.com/astashov/vim-ruby-debugger/tree/master いまのところ Mac OS X 上で +clientserver できるのは MacVim だけ (MacVim-KaoriYa も。X11使ったやつもいけるかも?)。 こんな感じでRailsアプリやrubyスクリプトをデバッグできます。 gemでruby-debug-ideを入れときます。 sudo gem install ruby-debug-ide vim-ruby-debuggerを持ってきます。 git clone git://github.com/astashov/vim-ruby-debugger.git debuggerのportなどを取得するためのlsofの引数あたりを、ちょっと変える必要があります(feedback予定)。
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く