================ @@ -1000,14 +1010,17 @@ PrintCompletion(FILE *output_file, if (position + description_length < max_length) { fprintf(output_file, "%.*s\n", static_cast<int>(description_length), line.data()); + lines_printed++; ---------------- JDevlieghere wrote:
Ah good point. I considered the situation where we would potentially exceed the page size if the last entry was a multiline one (and deemed that acceptable) but I didn't account for it in the check. We can make that a `>=`. https://github.com/llvm/llvm-project/pull/119914 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits