Andes Workshop
https://forum.andestech.com/

pythond debug分享
https://forum.andestech.com/viewtopic.php?f=23&t=577
Page 1 of 1

Author:  cindy [ Tue May 08, 2012 6:04 pm ]
Post subject:  pythond debug分享

Andesight裡附SOCgenerator,
讓user可以寫一個csv檔之後,快速產生.regs檔給Andesight使用。
但是如果出錯的話,不會印出error message。

下面分享Python的debug方法。

可以用官網下載的python GUI去檢查語法錯誤或是執行後的訊息。不過如果有錯誤大多是csv檔有錯。
Attachment:
p1.jpg
p1.jpg [ 22.93 KiB | Viewed 5074 times ]

檢查語法錯誤:
Attachment:
p2.jpg
p2.jpg [ 56.58 KiB | Viewed 5074 times ]

執行後的訊息:
Attachment:
p3.jpg
p3.jpg [ 59.29 KiB | Viewed 5074 times ]

Page 1 of 1 All times are UTC + 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/