2012-10-03 52 views
10

當把斷點在一些文件,例如:剛纔新建的視圖控制器,並把斷點viewDidLoad方法得到奇怪LLDB錯誤奇怪LLDB錯誤在Xcode 4.5:內部錯誤[IRForTarget]

Internal error [IRForTarget]: Couldn't rewrite external variable _ZZ53 
[EPGViewController($__lldb_category) $__lldb_expr:]E19$__lldb_expr_result 

我試着用搜索引擎對於這個錯誤 - 找不到有用的東西。清理緩存,重新啓動沒有幫助。

再一次 - 這個錯誤我沒有得到所有的文件。我無法弄清楚爲什麼。 Thx任何幫助或提示!

此外,當我試圖po一些變量,我得到

(lldb) po self.title 
error: Couldn't materialize struct: Structure hasn't been laid out yet 
Internal error [IRForTarget]: Couldn't rewrite external variable _ZZ58- 
[EventsEPGViewController($__lldb_category) $__lldb_expr:]E19$__lldb_expr_result 

回答

0

更改您的指定調試器從LLDB該項目入庫,你是好。

1

我也遇到了這個錯誤,並且花了很多時間無情地調試它。它似乎與斷點本身有關:我注意到,如果我停用斷點,則錯誤不會出現。

您可能可以將斷點移動到另一行以禁止。這不是我遇到的第一個鏗鏘聲bug,因爲XCode 4.3'po'甚至不會可靠地輸出變量。

+0

換行無助於( –