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

posted @ 2022-08-31 10:08  ChrisZZ  阅读(94)  评论(0编辑  收藏  举报