function - R Debugger doesn't stop at breakpoints -


i'm running script in r (using r studio) calls several nested functions (the script calls function, has code, , calls function, etc). need debug function several levels down. can first function called script placing breakpoint on line function call, , stepping function. however, when try repeat step next function (by having breakpoint @ line next function call), r keeps running code until it's done. using 'continue' command claims "continue execution until next breakpoint encountered."

i can other functions stepping through line line, , stepping each function once reach it, take long time need way.

any thoughts appreciated

debug convenient problems of sort. say, want go through function myfun step step. run debug(myfun) before run code , behave if had breakpoint on first line of function.

this works also, if function called within other functions or if inside package. in latter case, particularly useful, because can not change code of function comes package.


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -