Previously, when output like `"hello\nworld\n"` was produced by lldb (or the process) the message would be sent as a single Output event. By being a single event this causes VS Code to treat this as a single message in the console when handling displaying and filtering in the Debug Console. Instead, with these changes we send each line as its own event. This results in VS Code representing each line of output from lldb-dap as an individual output message. Resolves #105444
13 lines
241 B
C
13 lines
241 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <unistd.h>
|
|
|
|
int main() {
|
|
// Ensure multiple partial lines are detected and sent.
|
|
printf("abc");
|
|
printf("def");
|
|
printf("ghi\n");
|
|
printf("hello world\n"); // breakpoint 1
|
|
return 0;
|
|
}
|