printToVsc: Internal function to print to vsc

View source: R/overwrites.R

printToVscR Documentation

Internal function to print to vsc

Description

Sends text to vsc, together with source information. Is used by e.g. .vsc.print, .vsc.cat

Usage

printToVsc(ret, skipCalls = 0, category = "stdout", showSource = TRUE)

Arguments

ret

The text to be sent

skipCalls

The number of calls to skip when reporting the calling file and line. Can be used e.g. inside log functions.

category

The output category ("stdout", "stderr", ...)

showSource

Whether to show the calling source file and line.


ManuelHentschel/vscDebugger documentation built on April 13, 2025, 8:59 p.m.