getSource: Gather info about a frame's source code

View source: R/stackTreeHelpers.R

getSourceR Documentation

Gather info about a frame's source code

Description

Gathers and returns a named list containing info about the name, path, and content of the source file of a frame

Usage

getSource(call, frameIdR = 0)

Arguments

frameIdR

A frame id (as used by R) that can be passed to sys.call

Value

A named list containing info about the source file


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