經常會需要debug進vcl的源碼上看它的問題,但突然在xe上不能中斷進去了… 搞了好幾個小時的比對與各種可能性。發現… 有4個重點:

1/ linker 的 dynamic runtime 要disalbe

2/ delphi compiler下的 use debug dcus 要 true

3/ package 要disalbe

以上三點是很多人知道,也可能查到的…但我就是搞不出來,原來有個重點:

 

4/ 專案debug組態下的 lib path 要加入: $(BDSLIB)\win32\debug

 

真的很xxoo的,3小時都因為這個小地方… 所以才要記筆記啦!

arrow
arrow
    全站熱搜

    aftcast 發表在 痞客邦 留言(0) 人氣()