-
Notifications
You must be signed in to change notification settings - Fork 108
Open
Labels
Milestone
Description
When you execute a long-running statement in R and then interrupt it via Ctrl-C (or escape), the onDidReceiveRuntimeMessageStream
event is fired on the stderr
stream with a \n
(newline). This results in a blank line of error output in the console:
This does not happen in RStudio:
I Ctrl-C'd this sleep in RStudio:
Set a breakpoint here on addOrUpdateUpdateRuntimeItemActivity
to see the output:
} else if (languageRuntimeMessageStream.name === 'stderr') {
this.addOrUpdateUpdateRuntimeItemActivity(
languageRuntimeMessageStream.parent_id,
new ActivityItemErrorStream(
languageRuntimeMessageStream.id,
languageRuntimeMessageStream.parent_id,
new Date(languageRuntimeMessageStream.when),
languageRuntimeMessageStream.text
)
);
}