收集整理使用 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