如何查看Flash Builder如何调用adt?
环境:
- Flash Builder 4.6
- AIR SDK 3.1
- OS X 10.7.3
我正在调试一个问题,该问题确实出现在使用我的 SWC 库并使用 FB 编译的应用程序的 iOS 版本中,但不会出现在非常相似的应用程序的 iOS 版本中使用原始 AIR SDK。
我怀疑问题的原因是编译器配置的差异。现在我正在尝试手动(但不成功)制作 ant 的 build.xml,以便它与我认为 FB 正在做的任何事情相匹配,希望我能在某个时候看到相同的崩溃。但这并不是很有效。
有没有办法可以看到 FB 如何调用 adt
等,并将其与我的 ant
配置进行比较?
还有其他故障排除提示吗?
Environment:
- Flash Builder 4.6
- AIR SDK 3.1
- OS X 10.7.3
I'm debugging a problem that does appear in iOS builds of app that uses my SWC library, compiled with FB, and does not appear in the iOS builds of very similar app done with raw AIR SDK.
I suspect that the reason of a problem is a difference in compiler configuration. Now I'm trying to manually (and unsuccessfully) craft the ant's build.xml so it would match whatever I think FB is doing in hope that I would see the same crash at some point. But this is not very effective.
Is there a way I can see how FB invokes adt
etc. and compare that with my ant
config?
Any other troubleshooting hints?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这让我想起了我的旧回答。
简而言之,您可以创建记录其参数的程序,备份原始 adt 并用它替换它(您的程序甚至可以使用这些参数运行原始 adt。)
This reminds me my older answer.
In short, you can create program that logs its arguments, backup original adt and substitute it with it (your program might even run original adt with those arguments.)
一种可能的情况是 flashbuilder 使用的是 AIR SDK 的单独副本,该副本较旧。
您可以在此处检查该文件夹(Windows):
C:\Program Files (x86)\Adobe\Adobe Flash Builder 4\sdks
查看您是否使用的是最新的 AIR sdk。
A likely case is that flashbuilder is using a separate copy of the AIR SDK, that is older.
You can check the folder here (windows):
C:\Program Files (x86)\Adobe\Adobe Flash Builder 4\sdks
To see if you are using the most current AIR sdk.
我结合了 另一个线程 的答案并写道:
只需构建可运行的 jar 文件
I've combined answeres from another thread and wrote this:
just build a runnable jar file