読者です 読者をやめる 読者になる 読者になる

RetroWeb ~iPhoneとAndroidでハイブリッドゲームアプリ開発~

AIR for iOS+AndroidでSmartPhone Game ハイブリッドアプリ開発

最近作ったアプリ
100億本の抜け毛 100億匹のモナー DQ3闘技場アプリ モナーペット(進化)

traceステートメント省略ONしたときにでる、謎のバグ

AIR Flash

原因付近のtraceをコメントアウトしたらなおった。タイマーやアップデート処理内のtraceが怪しかったです。

以下発生した謎のバグ。何これ珍百景の様相
エラーともなんとも出ないおそろしさ

typecheck com.retroweb.game::Com$/getUserRateToLimitExp()
  outer-scope = [global Object$]
                       [com.retroweb.game::Com$~[O] int[I] Number[D] *[A] *[A] *[A] *[A] *[A]] {} ()
  0:debugfile "C:\Users\Hisashi\Desktop\flash\simamura;com\retroweb\game;Com.as"
                       [com.retroweb.game::Com$~[O] int[I] Number[D] *[A] *[A] *[A] *[A] *[A]] {} ()
  3:debugline 1852
                       [com.retroweb.game::Com$~[O] int[I] Number[D] *[A] *[A] *[A] *[A] *[A]] {} ()
  6:getlocal0
                       [com.retroweb.game::Com$~[O] int[I] Number[D] *[A] *[A] *[A] *[A] *[A]] {} (com.retroweb.game::Com$~[O])
  7:pushscope
                       [com.retroweb.game::Com$~[O] int[I] Number[D] *[A] *[A] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} ()
  8:debug
                       [com.retroweb.game::Com$~[O] int[I] Number[D] *[A] *[A] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} ()
  15:debug
                       [com.retroweb.game::Com$~[O] int[I] Number[D] *[A] *[A] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} ()
  22:debug
                       [com.retroweb.game::Com$~[O] int[I] Number[D] *[A] *[A] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} ()
  29:debug
                       [com.retroweb.game::Com$~[O] int[I] Number[D] *[A] *[A] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} ()
  36:debug
                       [com.retroweb.game::Com$~[O] int[I] Number[D] *[A] *[A] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} ()
  43:debug
                       [com.retroweb.game::Com$~[O] int[I] Number[D] *[A] *[A] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} ()
  50:debugline 1853
                       [com.retroweb.game::Com$~[O] int[I] Number[D] *[A] *[A] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} ()
  53:getlex 2406
                       [com.retroweb.game::Com$~[O] int[I] Number[D] *[A] *[A] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} (com.retroweb.game::Com$[O])
  56:getlocal1
                       [com.retroweb.game::Com$~[O] int[I] Number[D] *[A] *[A] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} (com.retroweb.game::Com$[O] int[I])
  57:callproperty {com.retroweb.game:Com,public,Com.as$251,com.retroweb.game,com.retroweb.game,http://adobe.com/AS3/2006/builtin,flash.display,flash.events,flash.utils,com.retroweb.game:Com,com.retroweb.game:Com}::getUseLvToExp 1
                       [com.retroweb.game::Com$~[O] int[I] Number[D] *[A] *[A] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} (int[I])
  61:convert_d
                       [com.retroweb.game::Com$~[O] int[I] Number[D] *[A] *[A] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} (Number[D])
  62:setlocal3
                       [com.retroweb.game::Com$~[O] int[I] Number[D] Number[D] *[A] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} ()
  63:debugline 1854
                       [com.retroweb.game::Com$~[O] int[I] Number[D] Number[D] *[A] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} ()
  66:getlex 2406
                       [com.retroweb.game::Com$~[O] int[I] Number[D] Number[D] *[A] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} (com.retroweb.game::Com$[O])
  69:getlocal1
                       [com.retroweb.game::Com$~[O] int[I] Number[D] Number[D] *[A] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} (com.retroweb.game::Com$[O] int[I])
  70:pushbyte 1
                       [com.retroweb.game::Com$~[O] int[I] Number[D] Number[D] *[A] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} (com.retroweb.game::Com$[O] int[I] int[I])
  72:add
                       [com.retroweb.game::Com$~[O] int[I] Number[D] Number[D] *[A] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} (com.retroweb.game::Com$[O] Number[D])
  73:callproperty {com.retroweb.game:Com,public,Com.as$251,com.retroweb.game,com.retroweb.game,http://adobe.com/AS3/2006/builtin,flash.display,flash.events,flash.utils,com.retroweb.game:Com,com.retroweb.game:Com}::getUseLvToExp 1
                       [com.retroweb.game::Com$~[O] int[I] Number[D] Number[D] *[A] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} (int[I])
  77:convert_d
                       [com.retroweb.game::Com$~[O] int[I] Number[D] Number[D] *[A] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} (Number[D])
  78:setlocal 4
                       [com.retroweb.game::Com$~[O] int[I] Number[D] Number[D] Number[D] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} ()
  80:debugline 1855
                       [com.retroweb.game::Com$~[O] int[I] Number[D] Number[D] Number[D] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} ()
  83:getlocal 4
                       [com.retroweb.game::Com$~[O] int[I] Number[D] Number[D] Number[D] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} (Number[D])
  85:getlocal3
                       [com.retroweb.game::Com$~[O] int[I] Number[D] Number[D] Number[D] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} (Number[D] Number[D])
  86:subtract
                       [com.retroweb.game::Com$~[O] int[I] Number[D] Number[D] Number[D] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} (Number[D])
  87:convert_d
                       [com.retroweb.game::Com$~[O] int[I] Number[D] Number[D] Number[D] *[A] *[A] *[A]] {com.retroweb.game::Com$~[O]} (Number[D])
  88:setlocal 5
                       [com.retroweb.game::Com$~[O] int[I] Number[D] Number[D] Number[D] Number[D] *[A] *[A]] {com.retroweb.game::Com$~[O]} ()
  90:debugline 1856
                       [com.retroweb.game::Com$~[O] int[I] Number[D] Number[D] Number[D] Number[D] *[A] *[A]] {com.retroweb.game::Com$~[O]} ()
  93:getlocal 5
                       [com.retroweb.game::Com$~[O] int[I] Number[D] Number[D] Number[D] Number[D] *[A] *[A]] {com.retroweb.game::Com$~[O]} (Number[D])
  95:getlocal 5
                       [com.retroweb.game::Com$~[O] int[I] Number[D] Number[D] Number[D] Number[D] *[A] *[A]] {com.retroweb.game::Com$~[O]} (Number[D] Number[D])
  97:getlocal2
                       [com.retroweb.game::Com$~[O] int[I] Number[D] Number[D] Number[D] Number[D] *[A] *[A]] {com.retroweb.game::Com$~[O]} (Number[D] Number[D] Number[D])
  98:multiply
                       [com.retroweb.game::Com$~[O] int[I] Number[D] Number[D] Number[D] Number[D] *[A] *[A]] {com.retroweb.game::Com$~[O]} (Number[D] Number[D])
  99:subtract
                       [com.retroweb.game::Com$~[O] int[I] Number[D] Number[D] Number[D] Number[D] *[A] *[A]] {com.retroweb.game::Com$~[O]} (Number[D])
  100:convert_i
                       [com.retroweb.game::Com$~[O] int[I] Number[D] Number[D] Number[D] Number[D] *[A] *[A]] {com.retroweb.game::Com$~[O]} (int[I])
  101:setlocal 6