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.
在 Python for S60 (PyS60) 中运行基于图形的程序时,错误消息和打印语句的输出(即标准输出)被隐藏。如果由于错误应用程序停止按预期工作,它会丢失并且跟踪错误非常困难,有时需要运行代码的“第二个剥离版本”。
这显然是痛苦的。
如何将这些错误记录到文件中,以便稍后查看。
PyS60 的具体信息在这里: http ://wiki.forum.nokia.com/index.php/Python_debugging_techniques