Debug

error:

error: Couldn't apply expression side effects : Couldn't dematerialize a result variable: couldn't read its memory

reason:
variable got optimized out

how to solve it
use option -O0 to avoid optimizing

Reference

br set -f xxx.cpp -l xxx
r
c
p xxx
n
expr int $xxx = xxx
posted @ 2023-11-13 11:40  0x7F  阅读(47)  评论(0)    收藏  举报