Andes Workshop

It is currently Sun Sep 19, 2021 10:04 pm

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: pythond debug分享
PostPosted: Tue May 08, 2012 6:04 pm 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
Andesight裡附SOCgenerator,
讓user可以寫一個csv檔之後,快速產生.regs檔給Andesight使用。
但是如果出錯的話,不會印出error message。

下面分享Python的debug方法。

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

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

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


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group