Single-Stepping in LLDB Doesn't Work on M1 Hardware

The instruction pointer jumps all over the place when single-stepping through iOS Objective-C code on M1 hardware (Big Sur 11.2, Xcode 12.4).

I tested on an M1 MacBook Air and an M1 MacMini and get the same behavior (running my app on a simulator or iPad hardware).

All compiler, linker, etc. optimizations (that I know about) are turned off.

Anyone else having this problem?

Anyone have a work-around?


Single-Stepping in LLDB Doesn't Work on M1 Hardware
 
 
Q