From csardi.gabor at gmail.com  Sat Apr 28 13:57:12 2018
From: csardi.gabor at gmail.com (=?UTF-8?B?R8OhYm9yIENzw6FyZGk=?=)
Date: Sat, 28 Apr 2018 11:57:12 +0000
Subject: [Rd] debugonce() functions are not considered as debugged
Message-ID: <CABtg=K=Q2k8Qr7uk=XQ2Qa76NWUcG0PmDMseZ37E2RZm4=XqDQ@mail.gmail.com>

debugonce() sets a different flag (RSTEP), and this is not queried by
isdebugged(), and it is also not unset by undebug().

Is this expected? If yes, is there a way to query and unset the RSTEP flag
from R code?

? f <- function() { }
? debugonce(f)
? isdebugged(f)
[1] FALSE

? undebug(f)
Warning message:
In undebug(f) : argument is not being debugged

? f()
debugging in: f()
debug at #1: {
}
Browse[2]>



[Rd] debugonce() functions are not considered as debugged
=?UTF-8?B?R8OhYm9yIENzw6FyZGk=?=