LLDB備忘錄

收集整理使用 LLDB 過程中發現的問題和解決方法。

1. error: Couldn't allocate space for materialized struct: Couldn't malloc: address space is full

描述:
輸入 p steps[0] 時出現報錯。其中 int steps[4].

報錯:

error: Couldn't allocate space for materialized struct: Couldn't malloc: address space is full
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression

解決:
frame variable steps

Ref:
https://stackoverflow.com/questions/25250069/lldb-evaluations-run-out-of-memory-on-ios-how-can-i-free-some-memory

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章