Hello,
   i'm searching for a way to realize a conditional breakpoint.
   setBreakpoint is a simple wrapper for the trace function. What i wan't to do
   is similar to the trace function
   described here:
   [1]http://www.stats.uwo.ca/faculty/murdoch/software/debuggingR/debug.shtml
   "> trace(fun, quote(if (x > 10) browser()))"
   How can i do this with the setBreakpoint function or are there any other
   alternatives to realize a conditional breakpoint?
   I use the setBreakpoint function in combination with findLineNum for a
   simple R debugging GUI.
   Thank in advance for any help

   Marcel

References

   1. http://www.stats.uwo.ca/faculty/murdoch/software/debuggingR/debug.shtml
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to