labath wrote: Yeah, that sounds like a bug. A different one that what you are fixing, but I think it's kind of related, as now the stepping machinery who concludes it has stepped "into" fn2 (and then decides to step out of it). I've filed #144061 to track that.
Would it work if we replace the call to `fn1` with some other statement -- one that doesn't involve function calls. E.g. maybe assignment to a volatile variable. I don't get the buggy step behavior in this case, but I haven't tried reproducing the lldb-dap bug. https://github.com/llvm/llvm-project/pull/143644 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits