Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
一个简单的问题让我很痛苦,因为我是 PyS60 开发的新手。
IDE 是做什么用的
恐怕(目前)还不可能进行真正的设备上调试。您必须使用弹出式注释、audio.say() 或写入日志文件。
我个人将 sys.stdout 和 sys.edterr 转发到日志文件并使用 sys.settrace() 和 sys.setprofile()。运行良好,无需修改真正的应用程序源代码,只需将所有内容转储到日志文件中,然后进行搜索。