Learn R Programming

async (version 0.3.2)

debugAsync: Toggle single-step debugging for a coroutine.

Description

Toggle single-step debugging for a coroutine.

Usage

debugAsync(x, R, internal, trace)

Value

a list(R=, internal=, trace=) with the current debug state.

Arguments

x

A coroutine object as constructed by (async, gen or stream).

R

Set TRUE to step through expressions at user level

internal

Set TRUE to step through at coroutine implementation level.

trace

Set TRUE or provide a print function to print each R expression evaluated in turn.