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

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