Thanks for giving it a try and sharing your LLDB session. In your example you’ve said:
So the difference is
* frame #0: 0x0000555555555161 ex2`inc(x=41, y=<unavailable>) at ex2.c:5:18 [inlined] frame #1: 0x0000555555555161 ex2`inc at ex2.c:0vs.
* frame #0: 0x0000555555555161 ex2`inc(x=41, y=<unavailable>) at ex2.c:5:18I think It does not impact debugger result itself although frame dump is slightly
different.
That’s the kind of difference I was concerned about. You’ve said that it doesn’t impact the debugger, but IMO that’s a significant impact as the backtrace is incorrect and the top frame is described as “inlined”. Both could cause much confusion to someone debugging their code.