6.22.2007

remote debug, dll

使用ActiveSynch 作eVC的remote debug,當有使用到其他dll 時。啟動時常常會出現 Unknown Error, error code : 126。

這時候,要開啟所有用到的DLL project (所以如果沒有source project就完蛋了)。然後一一用"update remote output file" 將DLL copy 到 remote target上。
然後再run 要debug 的 project,才會成功。

其中還要注意 Project Setting 中,debug - general - Download directory 所設定的位置。
最好是和將來實際要run 的位置。

upload 後,會出現prompt,詢問dll 所在local 的位置(大概是要load symbol吧),就指定到對應的位置 (只有一次機會,指錯了,下次就不會再問了)。

沒有留言: