Skip to content
Prev 279493 / 398506 Next

help! what's wrong with setBreakpoint

On 06/12/2011 9:47 AM, Michael wrote:
So that set a breakpoint in the copy of the function in the global 
environment.  Are you sure you were executing the same function after 
you hit c?  If you were working on code in a package, you may have been 
executing the function in the namespace of the package, not the one in 
the global environment.

If that's not the case, then are you sure you ever got to that line?  
You can see where the breakpoint was set using

body(myfunc1)[[c(6,4,9)]]

(Watch the parens and brackets!)

Duncan Murdoch