Andes Workshop

It is currently Thu Apr 25, 2024 8:43 pm

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: 將workspace分享給別人的方法
PostPosted: Thu Mar 29, 2012 12:30 pm 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
在開發project的過程中,
常有需要將自己的project分享給同事。

如果是將project給別人,
則裡面包含project的設定,
但是並不包含debug的information,
而且拿到workspace之後需要做"import"才會加入到workspace裡。
所以直接拿workspace是最快的。

下面介紹用法。
(1)
例如下面是我的notebook上Windows的workspace
Attachment:
ws.gif
ws.gif [ 20.62 KiB | Viewed 7803 times ]

要先在Andesight裡將workspace的breakpoint路徑改成相對路徑,
等一下另一台電腦使用時才會正常。
改為相對路徑的方法如下:
Window-->Preferences
Attachment:
p1.gif
p1.gif [ 8.2 KiB | Viewed 7802 times ]


C/C++-->Debug-->Breakpoints Path
將其中的Absolute Path的勾取消。

Attachment:
p2.gif
p2.gif [ 7.9 KiB | Viewed 7802 times ]


然後我把這個workspace folder,
copy到我的桌機的C:\workspace。

(2)打開桌機的Andesight,切換workspace。
如下圖,我曾用過C:\workspace,列表上會出現,click就會切到這個workspace。
或者,點選other可以從檔案總管裡選擇workspace。
Attachment:
p3.gif
p3.gif [ 9.76 KiB | Viewed 7802 times ]

選好之後,Andesight會自動重新啟動。
這就可以開始debug了。

用workspace將project分享給別人的缺點是workspace的檔案size較大,
但是同公司的網路環境應該也不需要抓很久。

----------------------------------------------------------------------------
這是一個範例,
Attachment:
workspace.7z [2.89 MiB]
Downloaded 776 times

請將附件解壓縮,
隨便放到哪裡,然後Andesight切換workspace就可以用了。


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 43 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