Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams Collectives™ on Stack Overflow Find centralized, trusted content and collaborate around the technologies you use most. Learn more about Collectives
![Objective-C find caller of method](https://cdn-ak-scissors.b.st-hatena.com/image/square/98d6f053a97a87156775f60757c60865d0f2c47d/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Fstackoverflow%2FImg%2Fapple-touch-icon%402.png%3Fv%3D73d79a89bded)
cocos2d-xの開発は基本Xcodeとシミュレータで行い、androidはたまに動作確認するといったスタンスでの開発になると思いますが、いざandroidでアプリが落ちた時にデバッガと繋がっていなくて困ることが多いと思います。 実はandroidではアプリがクラッシュした時に、logcatにtombstoneという以下の様なコアダンプを吐いています。 I/DEBUG ( 219): debuggerd: 2014-06-11 18:19:57 I/DEBUG ( 219): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I/DEBUG ( 219): Build fingerprint: 'xxx' I/DEBUG ( 219): pid: 15992, tid: 16012, name: Thread-
Pythonを使った頃はバックトレース機能がとても強いためエラーの追跡に悩んだことはあまりありませんでした。 >>> def hogehoge(): print traceback.print_stack() ... >>> def hoge(): hogehoge() ... >>> hoge() File "<stdin>", line 1, in <module> File "<stdin>", line 1, in hoge File "<stdin>", line 1, in hogehoge None しかしC++ではそんな便利なことはなかなかできません。 自分が模索してきたエラーの追跡と特定手法をここに書いておきます。 デバッグツールとMSVCを使ってる人には向けません。 スタックトレース コールツリーを調べるときに使えます。 以下のコードは Windows 7 mingw-
You can find more information on our Wiki at http://www.v8project.org
After finding a bug, the next step for a tester is to find whose fault is it ? Normally a software interacts a lot with servers. It is then quite useful to capture the network exchanges between the software and the servers to find what is really happening behind the user interface. For Android devices, we can use Android Debug Bridge (ADB), tcpdump-arm and wireshark to analyse network packages. F
Photoshopでゴミ取りをする。 まずは、写真のゴミ取りから取り掛かります。 こちら、弊社 落書き ホワイトボードの写メです。 この状態からPhotoshopの「レイヤースタイル」→「トーンカーブ」で周りを白く飛ばし、余計な背景を消しゴムツールで削ってゆきます。 同じ作業をなんどか繰り返して…… こんな感じの、なるべく線だけが見える画像にします。 画像トレースでIllustratorに線画を取り込む。 先ほど作った画像をIllustratorに配置し、画像を選択した状態で、「ウィンドウ」→「画像トレース」を開きます。 ここを調整してプレビューを確認しながらトレースをすると割りとうまくいきます。 しきい値が多いほど詳細に取り込まれます。 調整が決まったら、プレビューを外してレッツトレース!! 次に、トレースされた画像を選択して「オブジェクト」→「画像トレース」→「拡張」で線画をパス化して
For changes prior to version 1.14, see the file NEWS. For a more detailed list of changes, see the ChangeLog. September 17, 2019: Release 1.16. This release consists of bugfixes and minor portability improvements. A potential arithmetic overflow was fixed. Rotation angles are now normalized to between -180 and 180. We now use binary file I/O on the OS/2 platform. The test suite tolerances were adj
「各種セキュリティ」カテゴリーの人気ランキング 職印くん32 会社で使用するような「職印」を全自動レイアウトで作成 SVG形式にも対応(ユーザー評価:0) MalBlocker Lite 偽装されているファイルをリアルタイムに検知!(ユーザー評価:0) ファイル権限デザイナー Windowsのファイル・フォルダのアクセス権 設定(追加・変更・削除) 一覧表示ツール(ユーザー評価:4.5) AdwCleaner 知らないうちに組み込まれてしまったアドウェアなどを検出し、削除できる(ユーザー評価:4.5) パソわんこ 我が家を見守る・空き巣避けバーチャル番犬ソフト(ユーザー評価:0) 「各種セキュリティ」カテゴリのソフトレビュー Advanced Password Recovery Suite - 1,500種以上のソフトに対応。忘れてしまったIDやパスワード、ライセンスキーをワンクリックで復
appforandroid.info 2019 Copyright. All Rights Reserved. The Sponsored Listings displayed above are served automatically by a third party. Neither the service provider nor the domain owner maintain any relationship with the advertisers. In case of trademark issues please contact the domain owner directly (contact information can be found in whois). Privacy Policy
AS3 では、コンパイル時に条件を指定してコンパイル結果を変えることができます。例えば、コードの一部を、条件に応じてコンパイル対象から外したり、ターゲットごとにクラス定義を切り替えたり、という使い方が可能です。 条件を指定するコンパイル定数は、下の形式で記述します。 CONFIG::定数名 CONFIG は条件を指定する定数用の名前空間です。定数名の箇所は予約語を除き任意の名前を使用できます。 CONFIG 名前空間は、オーサリング環境がデフォルトで使用します。名前が被るのを避けるために、独自の名前空間を宣言したければ、以下のようなコードを AS のコード内に記述します。 config namespace MY_CONFIG; // MY_CONFIG は好きな名前に置き換えて これで、以下のような定数を指定できるようになります。 MY_CONFIG::debug コンパイル定数が tru
Flash の trace ログを表示するツール「Trace Rabbit」の AIR 版を作りました。 ダウンロード (version 0.1) TraceRabbit.air セットアップ方法 Flash Debug Player がログを出力するように設定します。mm.cfg ファイルが存在しなければ、下記の場所に作成してください。 Windows 7 C:\Users\USER_NAME\mm.cfg Windows XP C:\Documents and Settings\USER_NAME\mm.cfg OS X /Library/Application Support/macromedia/mm.cfg mm.cfg を下記のように編集します。 ErrorReportingEnable=1 TraceOutputFileEnable=1 Trace Rabbit を実行する
AS3 hidden treasure in the mm.cfg file. Revealing and documenting many Flash secrets! *Update: 9 dec 2011* Using a few of these hidden features, TheMiner let you analyse memory, performances, DisplayList, loaders and a lot more! *end update* When I found this, I just could not believed it. In the past few weeks I did many articles greatly appreciated by the community: FlashPlayer Security, FlashPl
ActionScript3でデバッグを行う場合、殆どの人はtraceを使って値や処理を確認していると思います。 単純な値の確認だけであれば問題は無いのですが、ファイルやメソッドの数が多くなり、ついでに非同期処理を入れたりして複雑になってくると 何処のメソッドから実行されたのか分からなくなる場合があります。 そんな時は下記のようにgetStackTraceを使えばスタックトレースを表示する事が出来ます。 public static function __debug_printStackTrace():void { try { throw new Error("trace"); } catch (e:Error) { trace(e.getStackTrace()); } } クラス化したりすると良いかもですが簡易的なデバッグであれば、この程度で十分だと思います。 そういえば、AS3を始めた頃
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く